Explicitly exit 0 so a failed inner command (like mvn) doesn't propagate up to a failure of the pipeline (#2859)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
This commit is contained in:
parent
88500317b7
commit
517902128f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user