Skip to content

Commit

Permalink
Backport elastic#2890
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Mar 5, 2020
1 parent 9ee4002 commit a7bf04f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/jenkins/windows-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Exec {

try {
$global:lastexitcode = 0
& $cmd
& $cmd 2>&1 | %{ "$_" }
if ($lastexitcode -ne 0) {
throw $errorMessage
}
Expand Down
2 changes: 1 addition & 1 deletion script/jenkins/windows-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Exec {

try {
$global:lastexitcode = 0
& $cmd
& $cmd 2>&1 | %{ "$_" }
if ($lastexitcode -ne 0) {
throw $errorMessage
}
Expand Down

0 comments on commit a7bf04f

Please sign in to comment.