From c91f48ed52a075211ebb3aa60615138644fcfe71 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Wed, 26 Sep 2018 10:08:53 +0300 Subject: [PATCH] Yet another try at sysdyn-om installer automation gitlab #34 (cherry picked from commit a389745de50e75db590551d5e0ced1b8a0bf59fe) --- releng/JenkinsFiles/Jenkinsfile-sysdyn-setup | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/releng/JenkinsFiles/Jenkinsfile-sysdyn-setup b/releng/JenkinsFiles/Jenkinsfile-sysdyn-setup index eb31c068..b6bd9e8a 100644 --- a/releng/JenkinsFiles/Jenkinsfile-sysdyn-setup +++ b/releng/JenkinsFiles/Jenkinsfile-sysdyn-setup @@ -7,18 +7,21 @@ pipeline { powershell ''' $ProgressPreference = "silentlyContinue" - #wget "http://www.simantics.org/download/${Env:BRANCH}/sysdyn/products/Simantics-Sysdyn-win32.win32.x86_64.zip" -OutFile sysdyn.zip - #& 'c:/Program Files/7-Zip/7z' x -bd -oreleng\\inno-setup\\sysdyn sysdyn.zip - #robocopy /MIR /NFL /NDL /NP C:/jenkins/jre8/win32.x86_64 releng/inno-setup/sysdyn/jre - #iscc /Q releng/inno-setup/sysdyn.iss + wget "http://www.simantics.org/download/${Env:BRANCH}/sysdyn/products/Simantics-Sysdyn-win32.win32.x86_64.zip" -OutFile sysdyn.zip + & 'c:/Program Files/7-Zip/7z' x -bd -oreleng\\inno-setup\\sysdyn sysdyn.zip + robocopy /MIR /NFL /NDL /NP C:/jenkins/jre8/win32.x86_64 releng/inno-setup/sysdyn/jre + iscc /Q releng/inno-setup/sysdyn.iss wget "http://www.simantics.org/download/${Env:BRANCH}/sysdyn/products/Simantics-Sysdyn-OM-win32.win32.x86_64.zip" -OutFile sysdyn-om.zip & 'c:/Program Files/7-Zip/7z' x -bd -oreleng\\inno-setup sysdyn-om.zip move releng/inno-setup/Simantics-Sysdyn-OM-win32.win32.x86_64 releng/inno-setup/sysdyn-om robocopy /MIR /NFL /NDL /NP C:/jenkins/jre8/win32.x86_64 releng/inno-setup/sysdyn-om/jre - iscc /Q releng/inno-setup/sysdyn-om.iss + # Work around file path length limitations in Windows that Inno Setup runs into + subst Y: releng\\inno-setup + iscc /Q Y:\\sysdyn-om.iss + subst /D Y: ''' - archiveArtifacts artifacts: 'releng/inno-setup/output/*.exe', fingerprint: false + archiveArtifacts artifacts: 'releng/inno-setup/output*/*.exe', fingerprint: false } } } -- 2.47.1