formation 1 سال پیش
والد
کامیت
220c24cc8f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -38,7 +38,7 @@ node {
        
 
         // Étape de connexion au registre Docker Nexus
-        sh "docker login -u ${nexusUsername} -p ${nexusPassword} ${nexusUrl}"
+        sh "docker login --username ${nexusUsername} --password-stdin ${nexusPassword} ${nexusUrl}:443"
 
         // Étape de balisage de l'image Docker pour le registre Nexus
         sh "docker tag ${dockerImageName}:${dockerImageTag} ${nexusUrl}/repository/${nexusRepository}/${dockerImageName}:${dockerImageTag}"