Browse Source

Обновить 'Jenkinsfile'

Vladimir Tomishinets 6 years ago
parent
commit
d96e3c97ae
1 changed files with 2 additions and 0 deletions
  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()
     }