diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-11-09 14:28:56 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-11-09 14:28:56 +0000 |
commit | f1a6f97d48f90ab381ffc2b485955b842efda363 (patch) | |
tree | 021f70596033418cb06ca682341d318d5943a30d /bin | |
parent | 566ef23229ad2d3f1fb51c5ad34b09fca581c8d8 (diff) | |
download | jenkins.debian.net-f1a6f97d48f90ab381ffc2b485955b842efda363.tar.xz |
reproducible-json: actually run that script. and status 'unreproducible-with-buildinfo' to .json output
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_json.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_json.sh b/bin/reproducible_json.sh index 9c38d42d..df2727b5 100755 --- a/bin/reproducible_json.sh +++ b/bin/reproducible_json.sh @@ -26,6 +26,11 @@ for LINE in $RESULT ; do PKG=$(echo $LINE | cut -d "|" -f1) VERSION=$(echo $LINE | cut -d "|" -f2) STATUS=$(echo $LINE | cut -d "|" -f3) + if [ "$STATUS" = "unreproducible" ] ; then + if [ -f /var/lib/jenkins/userContent/buildinfo/${PKG}_${VERSION}_amd64.buildinfo ] ; then + STATUS="$STATUS-with-buildinfo" + fi + fi write_json "{" write_json "\"package\": \"$PKG\"," write_json "\"version\": \"$VERSION\"," |