Skip to content

Commit

Permalink
Explicitly exit 0 so a failed inner command (like mvn) doesn't propag…
Browse files Browse the repository at this point in the history
…ate up to a failure of the pipeline (#20609)

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
  • Loading branch information
azure-sdk and danieljurek authored Sep 9, 2021
1 parent 476acd5 commit 0e5e53d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/common/scripts/Update-DocsMsPackages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,7 @@ if ($UpdateDocsMsPackagesFn -and (Test-Path "Function:$UpdateDocsMsPackagesFn"))
See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure"
exit 1
}

# Exit 0 so DevOps doesn't fail the build when the last command called by the
# domain-specific function exited with a non-zero exit code.
exit 0

0 comments on commit 0e5e53d

Please sign in to comment.