Browse Source

missprint

Владимир Томишинец 5 years ago
parent
commit
3108928ff7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      jenkinsfile.get.and.sync.dict

+ 2 - 0
jenkinsfile.get.and.sync.dict

@@ -162,6 +162,7 @@ pipeline {
                         timeout(time: 10 as Integer, unit: 'MINUTES') {
                             HELIXNAMES.each { key, value -> 
                                 echo "Syncing $key"
+                                def log_dir = value.dir.replace("Files", "LOGS")
                                 log_dir = log_dir.replace("/", "\\")
                                 sh """export DOCKER_HOST=tcp://$GOST_CLUSTER:2376 DOCKER_TLS_VERIFY=1
                                       docker create -i --name sync \
@@ -213,6 +214,7 @@ pipeline {
                         timeout(time: 10 as Integer, unit: 'MINUTES') {
                             HELIXNAMES.each { key, value -> 
                                 echo "Syncing $key"
+                                def log_dir = value.dir.replace("Files", "LOGS")
                                 log_dir = log_dir.replace("/", "\\")
                                 sh """export DOCKER_HOST=tcp://$GOST_CLUSTER:2376 DOCKER_TLS_VERIFY=1
                                       docker create -i --name sync \