|
|
@@ -71,7 +71,7 @@ pipeline {
|
|
|
|
|
|
stage('Push Docker Image (Nexus)') {
|
|
|
when {
|
|
|
- branch 'prod'
|
|
|
+ branch 'master'
|
|
|
}
|
|
|
steps {
|
|
|
withDockerRegistry([credentialsId: 'nexus', url: 'https://nexus.foodgame.fr']) {
|
|
|
@@ -206,15 +206,15 @@ pipeline {
|
|
|
// }
|
|
|
|
|
|
|
|
|
- stage('Build Docker MEAN Stack(PreProduction Deployment)')
|
|
|
- {
|
|
|
- sh 'docker-compose -v'
|
|
|
- sh 'docker-compose build'
|
|
|
- sh 'docker-compose up -d'
|
|
|
- }
|
|
|
+// stage('Build Docker MEAN Stack(PreProduction Deployment)')
|
|
|
+// {
|
|
|
+// sh 'docker-compose -v'
|
|
|
+// sh 'docker-compose build'
|
|
|
+// sh 'docker-compose up -d'
|
|
|
+// }
|
|
|
|
|
|
- stage('Fin du Pipeline')
|
|
|
- {
|
|
|
- sh 'echo "Félicitation tout c\'est bien déroulé!"'
|
|
|
- }
|
|
|
+// stage('Fin du Pipeline')
|
|
|
+// {
|
|
|
+// sh 'echo "Félicitation tout c\'est bien déroulé!"'
|
|
|
+// }
|
|
|
}
|