diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2018-05-23 13:46:41 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2018-05-25 10:25:55 +0000 |
commit | b317ad80963fbba4e7723ab1f47a95efbcb88da2 (patch) | |
tree | e3ef02acc3b76c79886cc3f6b05272f15690c6e7 /coin/provisioning/common/windows/mqtt_broker.ps1 | |
parent | 45709cec07594c950c64295e07be8dc42da963c0 (diff) | |
download | qt5-b317ad80963fbba4e7723ab1f47a95efbcb88da2.tar.gz |
Remove hardcoded download path
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>
Diffstat (limited to 'coin/provisioning/common/windows/mqtt_broker.ps1')
-rw-r--r-- | coin/provisioning/common/windows/mqtt_broker.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/provisioning/common/windows/mqtt_broker.ps1 b/coin/provisioning/common/windows/mqtt_broker.ps1 index 205d9c95..a80e23dd 100644 --- a/coin/provisioning/common/windows/mqtt_broker.ps1 +++ b/coin/provisioning/common/windows/mqtt_broker.ps1 @@ -34,7 +34,7 @@ . "$PSScriptRoot\helpers.ps1" Write-Host "MQTT: Downloading Paho test broker..." -$zip = "c:\users\qt\downloads\pahotest.zip" +$zip = Get-DownloadLocation "pahotest.zip" $externalUrl = "http://ci-files01-hki.ci.local/input/mqtt_broker/paho.mqtt.testing-c342c09dadc7a664d0a8befad1ca031f5a0b0bc0.zip" $internalUrl = "https://github.com/eclipse/paho.mqtt.testing/archive/c342c09dadc7a664d0a8befad1ca031f5a0b0bc0.zip" $sha1 = "532fe145096cdd8d679f425cbfd883289150c968" |