diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-16 16:36:28 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-16 16:36:28 +0100 |
commit | 9d464ca97f39b0451d1c6088606f4af463ea3c7c (patch) | |
tree | 25d7c4e3e8c84d5c6d25962dafec733c54f30291 /bin | |
parent | 5f4810882130d9061cf94b8766b484c35569724a (diff) | |
download | jenkins.debian.net-9d464ca97f39b0451d1c6088606f4af463ea3c7c.tar.xz |
reproducible: catch debbindiff exiting with exit code 2 if it has trouble comparing two builds
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 4bf5fa19..49c655db 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2014 Holger Levsen <holger@layer-acht.org> +# Copyright 2014-2015 Holger Levsen <holger@layer-acht.org> # released under the GPLv=2 DEBUG=false @@ -71,6 +71,8 @@ call_debbindiff() { fi elif [ $RESULT -eq 1 ] ; then DEBBINDIFFOUT="debbindiff found issues, please investigate $REPRODUCIBLE_URL/dbd/${LOGFILE}" + elif [ $RESULT -eq 2 ] ; then + DEBBINDIFFOUT="debbindiff had trouble comparing the two builds. Please investigate $REPRODUCIBLE_URL/rbuild/${SRCPACKAGE}_${EVERSION}.rbuild.log" fi if [ $RESULT -eq 0 ] && [ ! -f ./${LOGFILE} ] && [ -f b1/${BUILDINFO} ] ; then cp b1/${BUILDINFO} /var/lib/jenkins/userContent/buildinfo/ > /dev/null 2>&1 |