From d91bec2ac1cf347ff7f5e2c8a81047d92237d8f9 Mon Sep 17 00:00:00 2001 From: Zakaria Guennoune <83596451+zguennoune02@users.noreply.github.com> Date: Thu, 16 Jun 2022 15:11:55 +0200 Subject: [PATCH] Update Jenkinsfile --- centreon-plugins/Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/Jenkinsfile b/centreon-plugins/Jenkinsfile index b35ae6e87..fbd7d2c5d 100644 --- a/centreon-plugins/Jenkinsfile +++ b/centreon-plugins/Jenkinsfile @@ -2,10 +2,10 @@ env.REF_BRANCH = 'master' if ((env.BRANCH_NAME == env.REF_BRANCH)) { env.BUILD = 'REFERENCE' - env.REPO = 'stable' + env.REPO = '22.04' } else { env.BUILD = 'CI' - env.REPO = 'unstable' + env.REPO = '22.04-unstable' } stage('Source') { @@ -72,7 +72,7 @@ stage('RPM Delivery') { unstash "Debian11" sh '''for i in $(echo *.deb) do - curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H "Content-Type: multipart/form-data" --data-binary "@./$i" https://apt.centreon.com/repository/22.04-$REPO/ + curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H "Content-Type: multipart/form-data" --data-binary "@./$i" https://apt.centreon.com/repository/$REPO/ done ''' }