diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-01-31 15:22:07 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-01-31 15:22:07 +0100 |
commit | 2b49f0a1a06f6707a9a059c4ffedbf647dc25246 (patch) | |
tree | 8e124d9cb103fc994eae7f70c55ea06b1657a35f | |
parent | 4c06e41cfb79d1bb908f57c55a66a7615dbca5f1 (diff) | |
download | jenkins.debian.net-2b49f0a1a06f6707a9a059c4ffedbf647dc25246.tar.xz |
reproducible Debian: don't let the build fail if artifacts cannot be preserved
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index e22141fe..1720f426 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -79,7 +79,7 @@ save_artifacts() { local URL="$DEBIAN_URL/$ARTIFACTS/" local HEADER="$DEBIAN_BASE/$ARTIFACTS/.HEADER.html" mkdir -p $DEBIAN_BASE/$ARTIFACTS - cp -r $TMPDIR/* $DEBIAN_BASE/$ARTIFACTS/ + cp -r $TMPDIR/* $DEBIAN_BASE/$ARTIFACTS/ || true local msg="Artifacts from this build have been preserved. They will be available for 24h only, so download them now.\n" msg="${msg}WARNING: You shouldn't trust packages downloaded from this host, they can contain malware or the worst of your fears, packaged nicely in debian format.\n" msg="${msg}If you are aware of this and just want to use these artifacts to investigate why $DIFFOSCOPE had issues, you can download the artifacts from the following location: $URL\n" |