Skip to content
Snippets Groups Projects
Commit 092ca895 authored by SEBASTIA Yannick's avatar SEBASTIA Yannick
Browse files

jenkinfiles: construire le docker sans le publier

parent c6ca4b68
No related branches found
No related tags found
1 merge request!1Correction
...@@ -74,16 +74,17 @@ pipeline { ...@@ -74,16 +74,17 @@ pipeline {
} }
// Build et Déploiement de l'image de livraison sur le dépôt scm // Build et Déploiement de l'image de livraison sur le dépôt scm
// stage('Deploy') { stage('Deploy') {
// agent any agent any
// steps { steps {
// script { script {
docker.build("test:${env.BUILD_ID}", "./app")
// docker.withRegistry('http://localhost:5000') { // docker.withRegistry('http://localhost:5000') {
// docker.build("test:${env.BUILD_ID}", "./app").push() // docker.build("test:${env.BUILD_ID}", "./app").push()
// } // }
// } }
// } }
// } }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment