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 | |
parent | 566ef23229ad2d3f1fb51c5ad34b09fca581c8d8 (diff) | |
download | jenkins.debian.net-f1a6f97d48f90ab381ffc2b485955b842efda363.tar.xz |
reproducible-json: actually run that script. and status 'unreproducible-with-buildinfo' to .json output
-rwxr-xr-x | bin/reproducible_json.sh | 5 | ||||
-rw-r--r-- | job-cfg/reproducible.yaml | 2 |
2 files changed, 6 insertions, 1 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\"," diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index f04af247..cc62af14 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -227,7 +227,7 @@ - '{name}_json': my_description: 'Generates https://jenkins.debian.net/userContent/reproducible.json for consumption by tracker.debian.org.' my_timed: '1 0 * * *' - my_shell: '/srv/jenkins/bin/reproducible_html_all_packages.sh' + my_shell: '/srv/jenkins/bin/reproducible_json.sh' my_recipients: 'holger@layer-acht.org' - '{name}_builder_alpha': my_description: 'Try to reproducibly build a scheduled package. This is one of several builder jobs.' |