From 50c83a93e0d8acfa28c4f741148467aa9c240bc3 Mon Sep 17 00:00:00 2001 From: Jens Pelzetter Date: Sun, 22 Dec 2019 16:32:18 +0100 Subject: [PATCH] Added the ConfileFileProvider plugins to Jenkins pipeline for providing the credentials for packages.libreccm.org Former-commit-id: 3cff5ae142007ac0677651ecab744105850f3fbd --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e1074d4c8..8fe9e8931 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,9 @@ pipeline { stage("Deploy") { steps { dir('') { - sh 'mvn deploy' + configFileProvider([configFile(fileId: 'libreccm-packages-deploy', variable: 'MAVEN_SETTINGS')]) { + sh 'mvn -U -s $MAVEN_SETTINGS deploy' + } } } }