Browse Source

debug helix

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

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

@@ -69,7 +69,7 @@ pipeline {
         SMTP_SERVER='mail.sdsys.ru'
         SMTP_SERVER='mail.sdsys.ru'
         DOCKER_CERT_PATH='/run/secrets/swarm'
         DOCKER_CERT_PATH='/run/secrets/swarm'
         WGET_IMAGE='inutano/wget'
         WGET_IMAGE='inutano/wget'
-        SYNC_IMAGE='registry.infoclinica.ru:5000/syncmanager:i686.f30-0.1'
+        SYNC_IMAGE='registry.infoclinica.ru:5000/syncmanager:i686.f30-0.2'
         ANALIS_IMAGE='registry.infoclinica.ru:5000/lab/analis-wineservice'
         ANALIS_IMAGE='registry.infoclinica.ru:5000/lab/analis-wineservice'
         STACK_DEPLOY_REPO='ssh://git@git.sdsys.ru:8022/labportal/stack-deploy.git'
         STACK_DEPLOY_REPO='ssh://git@git.sdsys.ru:8022/labportal/stack-deploy.git'
         mailto='admin@sdsys.ru'
         mailto='admin@sdsys.ru'
@@ -89,7 +89,7 @@ pipeline {
                 }
                 }
             }
             }
         }
         }
-/*        stage ("HELIX dictionaries") {
+        stage ("HELIX dictionaries") {
             steps {
             steps {
                 script {
                 script {
                     HELIXNAMES.each { key, value -> 
                     HELIXNAMES.each { key, value -> 
@@ -102,13 +102,13 @@ pipeline {
                     HELIXNAMES.each { key, value -> 
                     HELIXNAMES.each { key, value -> 
                         if (value.idtask) {
                         if (value.idtask) {
                             container_operate(GOST_CLUSTER, [ 'sync' ])
                             container_operate(GOST_CLUSTER, [ 'sync' ])
-                            catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
-                                timeout(time: 15 as Integer, unit: 'MINUTES') {
+//                            catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
+//                                timeout(time: 15 as Integer, unit: 'MINUTES') {
                                     echo "Syncing dictionaries for $key"
                                     echo "Syncing dictionaries for $key"
                                     def log_dir = value.dir.replace("Files", "LOGS")
                                     def log_dir = value.dir.replace("Files", "LOGS")
                                     log_dir = log_dir.replace("/", "\\")
                                     log_dir = log_dir.replace("/", "\\")
                                     sync(log_dir, value.idtask, SYNC_IMAGE, GOST_CLUSTER)
                                     sync(log_dir, value.idtask, SYNC_IMAGE, GOST_CLUSTER)
-                                }
+//                                }
                             }
                             }
                         }
                         }
                     }
                     }
@@ -117,7 +117,7 @@ pipeline {
                 }
                 }
             } 
             } 
         }
         }
-*//*        stage ("INVITRO dictionaries") {
+/*        stage ("INVITRO dictionaries") {
             steps {
             steps {
                 script {
                 script {
                     INVITRONAMES.each { key, value ->
                     INVITRONAMES.each { key, value ->
@@ -153,7 +153,7 @@ pipeline {
                 }
                 }
             }
             }
         }
         }
-*/        stage ("ALFA dictionaries") {
+*//*        stage ("ALFA dictionaries") {
             steps {
             steps {
                 script {
                 script {
                     ALFANAMES.each { key, value ->
                     ALFANAMES.each { key, value ->
@@ -188,7 +188,7 @@ pipeline {
                 }
                 }
             }
             }
         }
         }
-/*        stage ("Gemotest dictionaries") {
+*//*        stage ("Gemotest dictionaries") {
             steps {
             steps {
                 script {
                 script {
                     echo "Get dictionaries for Gemotest"
                     echo "Get dictionaries for Gemotest"