diff options
author | David Spickett <david.spickett@linaro.org> | 2020-03-24 15:17:44 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2020-03-24 15:23:03 +0000 |
commit | 79fff89c89ab9eebbfbe2880c0079d7e29eb1e87 (patch) | |
tree | 19280a8ab8a8d76af8be6c85d018aa7db4dc6d16 /round-robin-bisect.sh | |
parent | 271be43175ac464ec52b009ab70d952167512aef (diff) |
round-robin-bisect.sh: Fail curl commands on HTTP errors
Previously curl would output an HTML document
describing the error. Which you wouldn't notice
until you followed the rest of the instructions.
Change-Id: I638eb03b319a8dab05a72d9187a64c1b83b2bfd9
Diffstat (limited to 'round-robin-bisect.sh')
-rwxr-xr-x | round-robin-bisect.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh index f96ce675..66c73967 100755 --- a/round-robin-bisect.sh +++ b/round-robin-bisect.sh @@ -546,9 +546,9 @@ cd investigate-$current_project-$bad_sha1 git clone https://git.linaro.org/toolchain/jenkins-scripts mkdir -p $rel_artifacts/manifests -curl -o $rel_artifacts/manifests/build-baseline.sh ${BUILD_URL}artifact/$rel_artifacts/manifests/build-baseline.sh -curl -o $rel_artifacts/manifests/build-parameters.sh ${BUILD_URL}artifact/$rel_artifacts/manifests/build-parameters.sh -curl -o $rel_artifacts/test.sh ${BUILD_URL}artifact/$rel_artifacts/test.sh +curl -o $rel_artifacts/manifests/build-baseline.sh ${BUILD_URL}artifact/$rel_artifacts/manifests/build-baseline.sh --fail +curl -o $rel_artifacts/manifests/build-parameters.sh ${BUILD_URL}artifact/$rel_artifacts/manifests/build-parameters.sh --fail +curl -o $rel_artifacts/test.sh ${BUILD_URL}artifact/$rel_artifacts/test.sh --fail chmod +x $rel_artifacts/test.sh # Reproduce the baseline build (build all pre-requisites) |