summaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/conan.ps1
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2016-10-03 22:33:40 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2016-10-05 21:25:43 +0000
commit5b0a9d688b2e07c12b1d50f63d1a5ebd6b5ae117 (patch)
treedbe326018ed8f6d5cfc0d9423482766ad5e6896a /coin/provisioning/common/conan.ps1
parentcf257c28694500251f5e193b469d9fd0c2414832 (diff)
Log arguments passed to Start-Process in Run-Conan-Install
Task-number: QTQAINFRA-998 Change-Id: Ic27762a0403132cb8c2dcdb9f5a83ae9292e2d2a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'coin/provisioning/common/conan.ps1')
-rw-r--r--coin/provisioning/common/conan.ps18
1 files changed, 7 insertions, 1 deletions
diff --git a/coin/provisioning/common/conan.ps1 b/coin/provisioning/common/conan.ps1
index 481aa5f8..2d3d50e4 100644
--- a/coin/provisioning/common/conan.ps1
+++ b/coin/provisioning/common/conan.ps1
@@ -8,6 +8,12 @@ Verify-Checksum $installer "719F30E6EED03149D75CDB28F80A7B873B43FF51"
[Environment]::SetEnvironmentVariable("CI_CONAN_BUILDINFO_DIR", "C:\Utils\conanbuildinfos", "Machine")
+function Start-Process-Logged
+{
+ Write-Host "Start-Process", $args
+ Start-Process @args
+}
+
function Run-Conan-Install
{
Param (
@@ -27,7 +33,7 @@ function Run-Conan-Install
ForEach-Object {
$outpwd = "C:\Utils\conanbuildinfos\$($BuildinfoDir)\$($_.BaseName)"
New-Item $outpwd -Type directory -Force
- Start-Process `
+ Start-Process-Logged `
"C:\Utils\Conan\conan\conan.exe" `
-WorkingDirectory $outpwd `
-ArgumentList "install -i -f $($_.FullName)", `