summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/chroot-run.sh8
-rw-r--r--job-cfg/haskell-package-plan.yaml16
2 files changed, 24 insertions, 0 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index d4f6decd..eb5ded73 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -104,6 +104,14 @@ $@
EOF
chmod +x $CHROOT_TARGET/tmp/chroot-testrun
sudo chroot $CHROOT_TARGET /tmp/chroot-testrun
+
+ # hack to get data out of the chroot (might be dropped when
+ # haskell-package-plan uses schroot, which will bindmount the current
+ # directory in the schroot)
+ if [ -e $CHROOT_TARGET/tmp/testrun/stats.csv ]
+ then
+ cp -v $CHROOT_TARGET/tmp/testrun/stats.csv .
+ fi
}
bootstrap
diff --git a/job-cfg/haskell-package-plan.yaml b/job-cfg/haskell-package-plan.yaml
index 7f1484a1..56771fe5 100644
--- a/job-cfg/haskell-package-plan.yaml
+++ b/job-cfg/haskell-package-plan.yaml
@@ -29,6 +29,22 @@
parse-rules: '/srv/jenkins/logparse/haskell-package-plan.rules'
unstable-on-warning: 'false'
fail-on-error: 'false'
+ - plots:
+ - title: Stats
+ yaxis: Packages
+ series:
+ - file: stats.csv
+ format: csv
+ inclusion-flag: exclude-by-string
+ exclude: total
+ - title: Totals
+ yaxis: Packages
+ style: area
+ series:
+ - file: stats.csv
+ format: csv
+ inclusion-flag: include-by-string
+ exclude: total
scm:
- git:
url: 'git://anonscm.debian.org/pkg-haskell/package-plan.git'