Владимир Томишинец 5 vuotta sitten
vanhempi
commit
bf317eea47
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      jenkinsfile.get.and.sync.dict

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

@@ -48,12 +48,12 @@ def ALFANAMES = [
 /*    DNKOM: [ id: '990010000000018' ], 
     Dialab: [ id: '990010000000019' ], 
     LabQuest: [ id: '990010000000049'], 
-*/    Arhimed: [ id: '990010000000055', dir: 'Arhimed/Files/Dictionaries' ] 
+*/    Arhimed: [ id: '990010000000055', idtask: '990010000000041', dir: 'Arhimed/Files/Dictionaries' ] 
 ]
 def GEMOTEST = [ id: '990010000000014', dir: 'GemoTest/Files/Dictionaries', user: 'a_info', pass: 'Ainfo150916' ]
 /* def LITEH = [ id: '990010000000024' ]
 def NAKFF = [ id: '990010000000004' ]
-*/ def CMD = [ id: '990010000000003', dir: 'CMD/Files/Dictionaries', user: 'SDSIntegration', pass: 'RK5CLTr77' ]
+*/ def CMD = [ id: '990010000000003', idtask: '990010000000003', dir: 'CMD/Files/Dictionaries', user: 'SDSIntegration', pass: 'RK5CLTr77' ]
 //def KDL = [ id: '990010000000006' ]
 
 def TAG = ''
@@ -189,7 +189,7 @@ pipeline {
                             --network=labnetwork --entrypoint='' \${SYNC_IMAGE} /bin/bash \
                             -c 'cd /root/wine32/dosdevices/unc/samba.infoclinica.lan/smartdelta01/$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" \
+                            /usr/bin/xvfb-run -a wine /opt/syncmanager/SyncManager.exe -a prod_lab -e "$value.idtask" \
                             -logfile "\\\\\\samba.infoclinica.lan\\smartdelta01\\$log_dir\\syncmanager_#.log" '
                           docker cp infodent.ini sync:/opt/syncmanager/infodent.ini
                           docker start -i sync