Skip to content
Permalink
Browse files
Adding clean step and maven settings for build
  • Loading branch information
effrafax committed Apr 16, 2018
1 parent 0d56dcd commit 4e362e196f8413e2aeae6815002671187d1ac611
Showing 1 changed file with 4 additions and 1 deletion.
@@ -30,14 +30,17 @@ def deploySettings = 'DefaultMavenSettingsProvider.1331204114925'

node(labels) {

cleanWs()

stage ('Clone Sources') {
git url: 'https://gitbox.apache.org/repos/asf/archiva-redback-components-expression-evaluator.git'
}

stage ('Build') {
withMaven(
maven: buildMvn,
jdk: buildJdk
jdk: buildJdk,
mavenSettingsConfig: deploySettings
) {
// Run the maven build
sh "mvn clean install -B -U -e -fae -Dmaven.compiler.fork=false"

0 comments on commit 4e362e1

Please sign in to comment.