Browse Source

missprint

tomishinets.v 5 years ago
parent
commit
10c4f428d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -68,7 +68,7 @@ pipeline {
              }
              }
              catch(err){
              catch(err){
                 echo "Recovering service $item"
                 echo "Recovering service $item"
-                sh "DOCKER_HOST=tcp://${CLUSTERS.get((item))}:2376 DOCKER_TLS_VERIFY=1 docker service rollback ${item}"
+                sh "DOCKER_HOST=tcp://${CLUSTERS.get((item))}:2376 DOCKER_TLS_VERIFY=1 docker service rollback ${SERVICE_NAME}"
                 throw err
                 throw err
              }
              }
           }
           }