Skip to content

Commit ff8e57c

Browse files
committed
Return 10 on pipe fail with --fail-on-pipe-fail
This updates the code to match the documentation.
1 parent 8afca80 commit ff8e57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/run_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ async def run_build(args):
222222
if args.fail_on_pipeline_failure:
223223
for _ in itertools.filterfalse(
224224
lambda pipe: pipe["status"] != "fail", run["pipelines"]):
225-
sys.exit(1)
225+
sys.exit(10)
226226
sys.exit(0)
227227

228228
sys.exit(0)

0 commit comments

Comments
 (0)