[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: don't let the build fail if artifacts cannot be preserved

Holger Levsen holger at layer-acht.org
Tue Jan 31 14:22:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 2b49f0a1a06f6707a9a059c4ffedbf647dc25246
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Jan 31 15:22:07 2017 +0100

    reproducible Debian: don't let the build fail if artifacts cannot be preserved
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index e22141f..1720f42 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list