Added the ConfileFileProvider plugins to Jenkins pipeline for providing

the credentials for packages.libreccm.org
ccm-docs
Jens Pelzetter 2019-12-22 16:32:18 +01:00
parent e099285ff1
commit 689cbbb525
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -27,7 +27,9 @@ pipeline {
stage("Deploy") { stage("Deploy") {
steps { steps {
dir('') { dir('') {
sh 'mvn deploy' configFileProvider([configFile(fileId: 'libreccm-packages-deploy', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn -U -s $MAVEN_SETTINGS deploy'
}
} }
} }
} }