Skip to content

Commit

Permalink
ayufan: dev.mk: fail curl
Browse files Browse the repository at this point in the history
Change-Id: I8b66488006735ef7c1f546e074dede687de86aa1
  • Loading branch information
ayufan committed Jun 3, 2018
1 parent 673698f commit 5183d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ build:
all_pipeline_ids() {
for i in $(seq 1 "${2:-10}"); do
result=$(curl "https://gitlab.com/$1/pipelines.json?page=$i" |
result=$(curl --fail "https://gitlab.com/$1/pipelines.json?page=$i" |
jq -r '.pipelines[].id')
[[ -z "$result" ]] && return 0
Expand Down

0 comments on commit 5183d4f

Please sign in to comment.