From f1a6f97d48f90ab381ffc2b485955b842efda363 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 9 Nov 2014 14:28:56 +0000 Subject: reproducible-json: actually run that script. and status 'unreproducible-with-buildinfo' to .json output --- bin/reproducible_json.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin') 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\"," -- cgit v1.2.3-70-g09d2