Skip to content

Commit 97abb6b

Browse files
committed
Run maven in batch mode on Jenkins
1 parent 3df0099 commit 97abb6b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Jenkinsfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ pipeline {
99
options {
1010
buildDiscarder(logRotator(numToKeepStr: '3'))
1111
}
12-
12+
1313
stages {
14-
14+
1515
stage('build and deploy to nexus'){
16-
16+
1717
steps {
18-
18+
1919
container('containerproxy-build') {
20-
20+
2121
configFileProvider([configFile(fileId: 'maven-settings-rsb', variable: 'MAVEN_SETTINGS_RSB')]) {
22-
23-
sh 'mvn -s $MAVEN_SETTINGS_RSB -U clean install deploy -DskipTests=true'
24-
22+
23+
sh 'mvn -B -s $MAVEN_SETTINGS_RSB -U clean install deploy -DskipTests=true'
24+
2525
}
2626
}
2727
}

0 commit comments

Comments
 (0)