mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
Previously all files got downloaded to a hardcoded path, including the username for the CI machines. Usually, it does not fit the username of a local development machine, complicating to reproduce bugs. Introduce Get-(Default)DownloadLocation functions in helpers to specify the default download location. This helps to run the provisioning scripts on a local machine. Change-Id: I761a92bf5e3e774358756a95dddb9a5d6ee54db9 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
12 lines
378 B
PowerShell
12 lines
378 B
PowerShell
. "$PSScriptRoot\helpers.ps1"
|
|
|
|
$zip = Get-DownloadLocation "jom_1_1_2.zip"
|
|
|
|
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_2.zip -OutFile $zip
|
|
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
|
|
Extract-7Zip $zip C:\Utils\Jom
|
|
|
|
Set-EnvironmentVariable "CI_JOM_PATH" "C:\Utils\Jom"
|
|
|
|
Write-Output "Jom = 1.1.2" >> ~/versions.txt
|