formation hace 1 año
padre
commit
5a24ad385e
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Jenkinsfile

+ 2 - 1
Jenkinsfile

@@ -38,7 +38,8 @@ node {
        
 
         // Étape de connexion au registre Docker Nexus
-        sh "docker login --username ${nexusUsername} --password-stdin ${nexusPassword} ${nexusUrl}:443"
+       sh """ echo "azerty10" | docker login --username admin --password-stdin nexus.foodgame.fr:443"""
+
 
         // Étape de balisage de l'image Docker pour le registre Nexus
         sh "docker tag ${dockerImageName}:${dockerImageTag} ${nexusUrl}/repository/${nexusRepository}/${dockerImageName}:${dockerImageTag}"