Added the ConfileFileProvider plugins to Jenkins pipeline for providing
the credentials for packages.libreccm.org
parent
10bc88c319
commit
3cff5ae142
|
|
@ -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'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue