diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-12-24 00:26:48 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-12-24 00:26:48 +0100 |
commit | ac25da465c89c6881ba42ff61e2b8dad7ce6206f (patch) | |
tree | 9a285e6e7e20474547252636cff8a4747a393c9f /bin | |
parent | 322f489a9c25983e0007eaa60db81dbbf4c487dd (diff) | |
download | jenkins.debian.net-ac25da465c89c6881ba42ff61e2b8dad7ce6206f.tar.xz |
Revert "g-i: keep less screenshots, there are enough, these distract from debugging"
This reverts commit 322f489a9c25983e0007eaa60db81dbbf4c487dd.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/g-i-installation.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 6ccd5b22..92d27618 100644 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -1046,11 +1046,12 @@ 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 analyse it + # every 100 ticks take a screenshot and preserve and analyse it if [ $(($NR % 100)) -eq 0 ] ; then # press ctrl-key regularily to avoid screensaver kicking in vncdo -s $DISPLAY key ctrl || true - # publish it + # preserve a screenshot for later publishing and publish it + backup_screenshot publish_screenshot # # search for known text using ocr of screenshot and break out of this loop if certain content is found |