From 8a240de4cc49bef5443958a9c1360caeec9cf9a4 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Mon, 24 Sep 2018 12:59:13 +0300 Subject: [PATCH] Yet another attempt at sysdyn setup pipeline gitlab #34 (cherry picked from commit 3ea1b74ac0ca633f28e4b898316bdc90d2da7701) --- releng/JenkinsFiles/Jenkinsfile-sysdyn-setup | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/releng/JenkinsFiles/Jenkinsfile-sysdyn-setup b/releng/JenkinsFiles/Jenkinsfile-sysdyn-setup index d5254f4a..f500b45f 100644 --- a/releng/JenkinsFiles/Jenkinsfile-sysdyn-setup +++ b/releng/JenkinsFiles/Jenkinsfile-sysdyn-setup @@ -1,32 +1,24 @@ pipeline { agent { label 'windows' } stages { - stage ('Build Sysdyn Without OpenModelica installer') { + stage ('Build Sysdyn Installers') { agent { label 'windows' } steps { powershell ''' $ProgressPreference = "silentlyContinue" wget "http://www.simantics.org/download/${Env:BRANCH}/sysdyn/products/Simantics-Sysdyn-win32.win32.x86_64.zip" -OutFile sysdyn.zip - Expand-Archive ./sysdyn.zip -DestinationPath releng/inno-setup/sysdyn + 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 - Expand-Archive ./sysdyn-om.zip -DestinationPath releng/inno-setup/sysdyn-om + 7z x -bd -oreleng/inno-setup/sysdyn-om sysdyn-om.zip 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 ''' archiveArtifacts artifacts: 'releng/inno-setup/output/*.exe', fingerprint: false } } - stage ('Build Sysdyn with OpenModelica installer') { - agent { label 'windows' } - steps { - powershell ''' - ''' - archiveArtifacts artifacts: 'releng/inno-setup/output/*.exe', fingerprint: false - } - } } } -- 2.47.1