summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-07 04:14:02 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-07 04:14:02 +0200
commit76550edd7c1ef79eddaa28dc02975f94c57a8038 (patch)
treec3908323bd01e3e707ed266801c8807a79d50542 /bin/reproducible_common.sh
parent6cc261d281176c5a33b9eec856ff952a24e8f228 (diff)
downloadjenkins.debian.net-76550edd7c1ef79eddaa28dc02975f94c57a8038.tar.xz
reproducible: half the height of the pkgs to be fixed graphs
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-xbin/reproducible_common.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 972ffe50..ef1572fd 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -598,13 +598,18 @@ create_png_from_table() {
experimental) COLORS=42 ;;
esac
fi
+ local WIDTH=1920
+ local HEIGHT=960
+ if [ $1 -eq 8 ] ; then
+ HEIGHT=480
+ fi
# only generate graph if the query returned data
if [ $(cat ${TABLE[$1]}.csv | wc -l) -gt 1 ] ; then
echo "Updating $2..."
DIR=$(dirname $2)
mkdir -p $DIR
echo "Generating $2."
- /srv/jenkins/bin/make_graph.py ${TABLE[$1]}.csv $2 ${COLORS} "${MAINLABEL[$1]}" "${YLABEL[$1]}"
+ /srv/jenkins/bin/make_graph.py ${TABLE[$1]}.csv $2 ${COLORS} "${MAINLABEL[$1]}" "${YLABEL[$1]}" $WIDTH $HEIGHT
mv $2 $BASE/$DIR
[ "$DIR" = "." ] || rmdir $(dirname $2)
# create empty dummy png if there havent been any results ever