summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_json.sh5
-rw-r--r--job-cfg/reproducible.yaml2
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.'