Skip to content
Snippets Groups Projects
Commit 47ce4191 authored by Balasankar C's avatar Balasankar C
Browse files

Merge branch...

Merge branch '3970-docker-assets-download-package-should-fail-when-package-is-not-found' into 'master'

Resolve "docker/assets/download-package should fail when package is not found"

Closes #3970

See merge request gitlab-org/omnibus-gitlab!4641
parents 8079384d b39a46b7
No related branches found
No related tags found
No related merge requests found
---
title: Error during docker build on package download failure
merge_request: 4641
author:
type: fixed
Loading
Loading
@@ -9,3 +9,9 @@ else
# to authenticate to access it. Hence, we pass PRIVATE-TOKEN header.
wget --quiet --header "PRIVATE-TOKEN: ${TRIGGER_PRIVATE_TOKEN}" ${DOWNLOAD_URL} -O /tmp/gitlab.deb
fi
results=$?
if [ ${results} -ne 0 ]; then
>&2 echo "There was an error downloading ${DOWNLOAD_URL}. Please check the output for more information"
exit ${results}
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment