Skip to content

Commit 481bb87

Browse files
committed
cleaner
1 parent 55f5bc9 commit 481bb87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.buildkite/build_pr_pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ steps:
1414
- command: ".buildkite/scripts/build_pr_commit_status.sh || true"
1515
label: "teardown"
1616
command: |
17+
status='failure'
1718
if [ $(buildkite-agent step get "outcome" --step "build-pr") == "passed" ]; then
18-
.buildkite/scripts/build_pr_commit_status.sh 'success' 'Build finished'
19-
else
20-
.buildkite/scripts/build_pr_commit_status.sh 'failure' 'Build finished'
19+
status='success'
2120
fi
21+
.buildkite/scripts/build_pr_commit_status.sh $status 'Build finished'
2222
depends_on:
2323
- step: "build-pr"

0 commit comments

Comments
 (0)