]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Second try for powershell installer script
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 24 Sep 2018 07:14:36 +0000 (10:14 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 26 Sep 2018 07:54:18 +0000 (10:54 +0300)
gitlab #34

(cherry picked from commit 24e63a4a3ca0fea2f0762ad82866ba04d5ee74ec)

releng/JenkinsFiles/Jenkinsfile-sysdyn-setup

index 76ef248dc4d6fd267569305a50252601b821f5b6..a9569ae83da67ce924dcefaea2b0ddb90357778f 100644 (file)
@@ -5,7 +5,9 @@ pipeline {
             agent { label 'windows' }
             steps {
                 powershell '''
-                    wget http://www.simantics.org/download/$env:BRANCH/sysdyn/products/Simantics-Sysdyn-win32.win32.x86_64.zip
+                    $ProgressPreference = "silentlyContinue"
+                    $branch = $Env:BRANCH
+                    wget "http://www.simantics.org/download/$branch/sysdyn/products/Simantics-Sysdyn-win32.win32.x86_64.zip" -UseBasicParsing
                     Expand-Archive ./Simantics-Sysdyn-win32.win32.x86_64.zip -DestinationPath sysdyn
                     iscc releng/inno-setup/sysdyn.iss
                 '''