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 <[email protected]>
  • Loading branch information
2 people authored and iscai-msft committed Sep 29, 2021
1 parent a70d405 commit 7144be8
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 7144be8

Please sign in to comment.