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
- }
- }
}
}