Meridio: Fix credentials ID 74/15074/1
authorLionel Jouin <lionel.jouin@est.tech>
Fri, 9 Sep 2022 13:09:12 +0000 (15:09 +0200)
committerLionel Jouin <lionel.jouin@est.tech>
Fri, 9 Sep 2022 13:09:12 +0000 (15:09 +0200)
Change-Id: I127b014b8f1fb9bdfdc0d2076ed43ef48f808a17

jjb/nsm/Jenkinsfile

index a902f5032e2644b2eb6458d65de0885f6c3af392..4746dc9edfa300c7176e172237685be916029e5a 100644 (file)
@@ -56,7 +56,7 @@ node('nordix-nsm-build-ubuntu1804') {
                 Verify().call()
             }
             stage('Docker login') {
                 Verify().call()
             }
             stage('Docker login') {
-                withCredentials([usernamePassword(credentialsId: 'nordixinfra-harbor-creds-wrapper', passwordVariable: 'HARBOR_PASSWORD', usernameVariable: 'HARBOR_USERNAME')]) {
+                withCredentials([usernamePassword(credentialsId: 'nordix-cicd-harbor-credentials', passwordVariable: 'HARBOR_PASSWORD', usernameVariable: 'HARBOR_USERNAME')]) {
                     sh '''#!/bin/bash -eu
                     echo $HARBOR_PASSWORD | docker login --username $HARBOR_USERNAME --password-stdin $IMAGE_REGISTRY
                     '''
                     sh '''#!/bin/bash -eu
                     echo $HARBOR_PASSWORD | docker login --username $HARBOR_USERNAME --password-stdin $IMAGE_REGISTRY
                     '''