formation 1 년 전
부모
커밋
762176bd25
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -31,7 +31,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}"