|
@@ -79,7 +79,8 @@ pipeline {
|
|
|
script {
|
|
|
for (String item : service_update.split()) {
|
|
|
try{
|
|
|
- sh "docker service update ${service_name} --image ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
|
|
|
+ echo "Updating ${item}"
|
|
|
+ sh "docker service update ${item} --image ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
|
|
|
}
|
|
|
catch(err){
|
|
|
echo "Recovering service $item"
|