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

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

@@ -142,7 +142,7 @@ pipeline {
                 }
             }
         }
-        stage ("ALFA dictionaries") {
+*/        stage ("ALFA dictionaries") {
             steps {
                 script {
                     ALFANAMES.each { key, value ->
@@ -169,12 +169,12 @@ pipeline {
                     log_dir = log_dir.replace("/", "\\")
                     sh """export DOCKER_HOST=tcp://$CLUSTER.gost:2376 DOCKER_TLS_VERIFY=1
                           docker create -i --name sync \
-                            -v analis-wineservice_analis_Files_netapp:/root/wine32/drive_c/services/analis \
+                            -v analis-wineservice_analis_Files_netapp:/root/wine32/dosdevices/unc/samba.infoclinica.lan/smartdelta01/ \
                             --network=labnetwork --entrypoint='' ${SYNC_IMAGE} \
                             -c 'cd /root/wine32/drive_c/services/analis/$value.dir; \
                             cat $(ls -1t AlfaLabDict_*.xml | head -n1) > Alfalabdict.xml; \
                             /usr/bin/xvfb-run -a wine /opt/syncmanager/SyncManager.exe -a prod_lab -e "$value.id" \
-                            -logfile "C:\Services\Analis\$log_dir\syncmanager_#.log" '
+                            -logfile "\\\\\\samba.infoclinica.lan\\smartdelta01\\$log_dir\\syncmanager_#.log" '
                           docker cp infodent.ini sync:/opt/syncmanager/infodent.ini
                           docker start -i sync
                           docker rm sync
@@ -183,7 +183,7 @@ pipeline {
                 }
             }
         }
-        stage ("Gemotest dictionaries") {
+/*        stage ("Gemotest dictionaries") {
             steps {
                 script {
                     echo "Get dictionaries for Gemotest"
@@ -208,7 +208,9 @@ pipeline {
                 }
             }
         }
-*/        stage ("CMD dictionaries") {
+*/
+/*  Работает, не трогать!
+        stage ("CMD dictionaries") {
             steps {
                 script {
                     echo "Get dictionaries for CMD"
@@ -233,7 +235,7 @@ pipeline {
                 }
             }
         }
-    }
+*/    }
   
 /*    post {
         failure {