From c243f41c62874917adeec2665b4a03126a6c489c Mon Sep 17 00:00:00 2001 From: areeqakbr Date: Tue, 25 Feb 2025 09:27:20 +0700 Subject: [PATCH] changing annotations --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6693f0a..e292158 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,9 +28,9 @@ pipeline { steps { script { withCredentials([usernamePassword(credentialsId: "${DOCKERUSRPASS}", usernameVariable: 'REGISTRY_USER', passwordVariable: 'REGISTRY_TOKEN')]) { - sh ' + sh """ echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_URL" --username ${REGISTRY_USER} --password-stdin - ' + """ } } }