Selaa lähdekoodia

Обновить 'Jenkinsfile'

Vladimir Tomishinets 6 vuotta sitten
vanhempi
commit
d96e3c97ae
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      Jenkinsfile

+ 2 - 0
Jenkinsfile

@@ -128,6 +128,8 @@ pipeline {
   }
   post {
     always {
+      sh "docker stop \${container_id_client}"
+      sh "DOCKER_HOST=tcp://${CLUSTERS.get((ENAMES[1]))}:2376 DOCKER_TLS_VERIFY=1 docker stack rm ${SERVICE_NAME}"
       echo "CleaningUp work directory"
       deleteDir()
     }