Export CI_JOM_PATH variable on all templates with jom
authorJędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Thu, 26 May 2016 12:29:30 +0000 (14:29 +0200)
committerFrederik Gladhorn <frederik.gladhorn@qt.io>
Mon, 30 May 2016 14:08:24 +0000 (14:08 +0000)
That is needed to change provisioning way in Coin, as currently it
depends on variables hard-coded in Coin agent.

Change-Id: I0bc5c76717e994824b85a4353a7218db4b648344
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
coin/provisioning/common/jom.ps1

index c233ee6..ef012b6 100644 (file)
@@ -5,3 +5,5 @@ $zip = "c:\users\qt\downloads\jom_1_1_0.zip"
 Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_0.zip -OutFile $zip
 Verify-Checksum $zip "C4149FE706B25738B4C4E54C73E180B9CAB55832"
 Extract-Zip $zip C:\Utils\Jom
+
+[Environment]::SetEnvironmentVariable("CI_JOM_PATH", "C:\Utils\Jom", "Machine")