Browse Source

Обновить 'Jenkinsfile'

Vladimir Tomishinets 6 years ago
parent
commit
75bac82784
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

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