diff --git a/Jenkinsfile b/Jenkinsfile index a78d8f15caf19375474e2a03a88b62b94f0ef3a2..8f4ae7a270dfddbe0b98ef525922805ab11d6f14 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,16 +74,17 @@ pipeline { } // Build et Déploiement de l'image de livraison sur le dépôt scm -// stage('Deploy') { -// agent any -// steps { -// script { + stage('Deploy') { + agent any + steps { + script { + docker.build("test:${env.BUILD_ID}", "./app") // docker.withRegistry('http://localhost:5000') { // docker.build("test:${env.BUILD_ID}", "./app").push() // } -// } -// } -// } + } + } + } } }