Skip to content

Commit

Permalink
ayufan: dev.mk: fail curl
Browse files Browse the repository at this point in the history
Change-Id: I5ac8e4273e0e4ac2b00ebebd2ef8b12c0e4270ab
  • Loading branch information
ayufan committed Jun 3, 2018
1 parent b526846 commit 9c96c2a
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 9c96c2a

Please sign in to comment.