aboutsummaryrefslogtreecommitdiff
path: root/ci-dockerfile-build.yaml
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2022-05-06 15:10:36 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2022-05-06 15:10:36 +0000
commit034a1bb4c22499c8615a0fb1434afb27790b2b2a (patch)
treec15c9ab274058e9a7c7059f2d148ef529d8b2430 /ci-dockerfile-build.yaml
parent73f69da4fde534952b598f40facdb197d5a7067d (diff)
ci-dockerfile*: Fix http download
"wget URL > FILE" first creates an empty FILE, and then downloads URL into URL.1 file. Use script-friendly curl instead. Change-Id: I689b46dbe4e43a84ed47960692e387640a8c885a
Diffstat (limited to 'ci-dockerfile-build.yaml')
-rw-r--r--ci-dockerfile-build.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci-dockerfile-build.yaml b/ci-dockerfile-build.yaml
index e2213488cf..264230c59d 100644
--- a/ci-dockerfile-build.yaml
+++ b/ci-dockerfile-build.yaml
@@ -37,7 +37,7 @@
builders:
- shell: |
#!/bin/bash -e
- wget https://ci.linaro.org/jenkins/userContent/config.json > ${WORKSPACE}/config.json
+ curl -o ${WORKSPACE}/config.json https://ci.linaro.org/jenkins/userContent/config.json --fail
- shell:
!include-raw: ci-dockerfiles-deployment/build-image.sh
publishers: