@@ -30,16 +30,16 @@ node{
// }
-
stage('Push Docker images to Nexus') {
withCredentials([usernamePassword(credentialsId: 'nexus', usernameVariable: 'admin', passwordVariable: 'azerty10')]) {
- sh "echo ${azerty10} | docker login -u ${admin} --password-stdin nexus.foodgame.fr"
+ sh "echo ${azerty10} | docker login -u ${admin} --password-stdin nexus.foodgame.fr/repository/docker-fatboar-registry/"
sh "docker-compose push"
}
+
stage('Build Docker MEAN Stack(PreProduction Deployment)')