Skip to content

Commit 0e5e53d

Browse files
Explicitly exit 0 so a failed inner command (like mvn) doesn't propagate up to a failure of the pipeline (Azure#20609)
Co-authored-by: Daniel Jurek <[email protected]>
1 parent 476acd5 commit 0e5e53d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

eng/common/scripts/Update-DocsMsPackages.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,7 @@ if ($UpdateDocsMsPackagesFn -and (Test-Path "Function:$UpdateDocsMsPackagesFn"))
133133
See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure"
134134
exit 1
135135
}
136+
137+
# Exit 0 so DevOps doesn't fail the build when the last command called by the
138+
# domain-specific function exited with a non-zero exit code.
139+
exit 0

0 commit comments

Comments
 (0)