Владимир Томишинец 5 年之前
父節點
當前提交
261edc6f98
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      jenkinsfile.get.and.sync.dict

+ 4 - 4
jenkinsfile.get.and.sync.dict

@@ -85,12 +85,12 @@ pipeline {
                     }
                     TAG = sh (script:  "cat ${WORKSPACE}/stack-deploy/tags/lab/analis-wineservice.build-version" , returnStdout: true)
                     sh '''export DOCKER_HOST=tcp://$GOST_CLUSTER:2376 DOCKER_TLS_VERIFY=1
-                          docker stop get && docker rm get
-                          docker stop sync && docker rm sync
+                          docker stop get || true && docker rm get || true 
+                          docker stop sync || true && docker rm sync || true 
                        '''
                     sh '''export DOCKER_HOST=tcp://$OPEN_CLUSTER:2376 DOCKER_TLS_VERIFY=1
-                          docker stop get && docker rm get
-                          docker stop sync && docker rm sync
+                          docker stop get || true && docker rm get || true 
+                          docker stop sync || true && docker rm sync || true 
                        '''
                 }
             }