|
@ -48,7 +48,7 @@ jobs: |
|
|
$pinfo.RedirectStandardError = $true |
|
|
$pinfo.RedirectStandardError = $true |
|
|
$pinfo.RedirectStandardOutput = $true |
|
|
$pinfo.RedirectStandardOutput = $true |
|
|
$pinfo.UseShellExecute = $false |
|
|
$pinfo.UseShellExecute = $false |
|
|
$pinfo.Arguments = "start-build $(AppName) --from-dir='$(Pipeline.Workspace)\\$(ProjectName)' --follow --wait" |
|
|
|
|
|
|
|
|
$pinfo.Arguments = "start-build $(AppName) --from-dir=$(ProjectName) --follow --wait" |
|
|
$p = New-Object System.Diagnostics.Process |
|
|
$p = New-Object System.Diagnostics.Process |
|
|
$p.StartInfo = $pinfo |
|
|
$p.StartInfo = $pinfo |
|
|
$p.Start() | Out-Null |
|
|
$p.Start() | Out-Null |
|
@ -61,8 +61,5 @@ jobs: |
|
|
$binaryBuildHasErrors = $p.ExitCode -ne 0 |
|
|
$binaryBuildHasErrors = $p.ExitCode -ne 0 |
|
|
Write-Host "##vso[task.setvariable variable=BinaryBuildHasErrors;]$binaryBuildHasErrors" |
|
|
Write-Host "##vso[task.setvariable variable=BinaryBuildHasErrors;]$binaryBuildHasErrors" |
|
|
displayName: 'Start OpenShift Binary Build' |
|
|
displayName: 'Start OpenShift Binary Build' |
|
|
failOnStderr: variables['BinaryBuildHasErrors'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
failOnStderr: and(succeeded(), eq(variables['BinaryBuildHasErrors'], False)) |
|
|
|
|
|
workingDirectory: '$(Pipeline.Workspace)' |