|
@@ -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()
|
|
|
}
|