summaryrefslogtreecommitdiffstats
path: root/bin/g-i-installation.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-12-24 00:27:13 +0100
committerHolger Levsen <holger@layer-acht.org>2014-12-24 00:27:13 +0100
commitbfe5371dd2ca80bc4e64ab27e57ec5177de63601 (patch)
tree87230974737a84962ad191c8551ab1b755d2d0d8 /bin/g-i-installation.sh
parentac25da465c89c6881ba42ff61e2b8dad7ce6206f (diff)
downloadjenkins.debian.net-bfe5371dd2ca80bc4e64ab27e57ec5177de63601.tar.xz
g-i: keep less screenshots, there are enough, these distract from debugging
Diffstat (limited to 'bin/g-i-installation.sh')
-rw-r--r--bin/g-i-installation.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 92d27618..6ccd5b22 100644
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -1046,12 +1046,11 @@ monitor_system() {
echo "$(date) $PRINTF_NR - could not take vncsnapshot from $DISPLAY - using a blank fake one instead"
convert -size $VIDEOSIZE xc:#000000 -depth 8 snapshot_${PRINTF_NR}.png
fi
- # every 100 ticks take a screenshot and preserve and analyse it
+ # every 100 ticks take a screenshot and analyse it
if [ $(($NR % 100)) -eq 0 ] ; then
# press ctrl-key regularily to avoid screensaver kicking in
vncdo -s $DISPLAY key ctrl || true
- # preserve a screenshot for later publishing and publish it
- backup_screenshot
+ # publish it
publish_screenshot
#
# search for known text using ocr of screenshot and break out of this loop if certain content is found