From 50142d729a8e62b6abc6ada8b5460420b3e96706 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 28 Sep 2014 01:16:15 +0200 Subject: reproducible: make job not fail --- bin/reproducible_setup.sh | 2 +- bin/reproducible_stats.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh index 7e757072..6376efec 100755 --- a/bin/reproducible_setup.sh +++ b/bin/reproducible_setup.sh @@ -19,7 +19,7 @@ sudo pbuilder --create --basetgz /var/cache/pbuilder/base-reproducible.tgz --dis sudo pbuilder --execute --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz -- ${TMPFILE} rm ${TMPFILE} -# the alternative would be to make the job definition more complicated: collecting logs for all jobs but this one... +# the alternative would be to make the job definition more complicated: collecting logs for all jobs but this one and _stats... mkdir -p results/_success touch results/dummy.log touch results/_success/dummy.log diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 51c233be..27a4c2f9 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -28,3 +28,8 @@ echo "$COUNT_GOOD packages successfully built reproducibly: ${GOOD}" echo "$COUNT_BAD packages failed to built reproducibly: ${BAD}" echo "$COUNT_UGLY packages failed to build from source: ${UGLY}" echo "$COUNT_SOURCELESS packages doesn't exist in sid and need investigation: $SOURCELESS" + +# the alternative would be to make the job definition more complicated: collecting logs for all jobs but this one and _setup... +mkdir -p results/_success +touch results/dummy.log +touch results/_success/dummy.log -- cgit v1.2.3-70-g09d2