Skip to content
Permalink
Browse files
Jenkinsfile modifications
  • Loading branch information
Martin Stockhammer committed Apr 17, 2018
1 parent 48d92f3 commit 523d6ed707da375c5c37bd2a061d0990de48808a
Showing 1 changed file with 4 additions and 6 deletions.
@@ -33,7 +33,7 @@ node(labels) {
cleanWs()

stage ('Clone Sources') {
git url: 'https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-taskqueue.git'
checkout scm
}

stage ('Build') {
@@ -42,9 +42,8 @@ node(labels) {
jdk: buildJdk,
mavenSettingsConfig: deploySettings
) {
// Run the maven build
sh "mvn clean install -B -U -e -fae -Dmaven.compiler.fork=false"
} // withMaven will discover the generated Maven artifacts, JUnit Surefire & FailSafe & FindBugs reports...
}
}

stage ('Deploy') {
@@ -53,8 +52,7 @@ node(labels) {
jdk: buildJdk,
mavenSettingsConfig: deploySettings
) {
// Run the maven build
sh "mvn clean deploy -Dmaven.test.skip=true -B -U -e -fae -Dmaven.compiler.fork=false"
} // withMaven will discover the generated Maven artifacts, JUnit Surefire & FailSafe & FindBugs reports...
sh "mvn deploy -Dmaven.test.skip=true -B -U -e -fae -Dmaven.compiler.fork=false"
}
}
}

0 comments on commit 523d6ed

Please sign in to comment.