|
@@ -81,9 +81,10 @@ pipeline {
|
|
steps {
|
|
steps {
|
|
script {
|
|
script {
|
|
for (String item : service_update.split()) {
|
|
for (String item : service_update.split()) {
|
|
|
|
+ echo "Updating ${item}"
|
|
|
|
+ sh "set"
|
|
|
|
+ sh "docker node ls"
|
|
try{
|
|
try{
|
|
- echo "Updating ${item}"
|
|
|
|
- sh "docker node ls"
|
|
|
|
sh "docker service update ${item} --image ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
|
|
sh "docker service update ${item} --image ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
|
|
}
|
|
}
|
|
catch(err){
|
|
catch(err){
|