mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-25 00:15:11 +08:00
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>
This commit is contained in:
@@ -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)", `
|
||||
|
||||
Reference in New Issue
Block a user