Skip to content

Commit

Permalink
Add missing cmd validation
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Oct 31, 2020
1 parent a9f8cd2 commit acc8871
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ if($target -eq "publish") {
Write-Host "Publishing $Build => tag=$tag"
$cmd = "docker push {0}/{1}:{2}" -f $Organization, $Repository, $tag
Invoke-Expression $cmd
if($lastExitCode -ne 0) {
$publishFailed = 1
}

if($PushVersions) {
$buildTag = "$JenkinsVersion-$tag"
Expand Down

0 comments on commit acc8871

Please sign in to comment.