summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-15 15:58:15 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-15 15:58:15 +0100
commit4f42083c05800176ce3edf9560c9ccc9bc2a83f0 (patch)
tree205ed262f613610d09e2633328adbfde8b61da4c /bin
parentd4c62d9f2227c2538ad3c45aa0baee6b9cbde126 (diff)
downloadjenkins.debian.net-4f42083c05800176ce3edf9560c9ccc9bc2a83f0.tar.xz
torbrowser tests: provide live screenshots again
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test_torbrowser-launcher.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index 6057378c..b1d9058c 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -31,8 +31,10 @@ update_screenshot() {
xwd -root -silent -display :$SCREEN.0 | xwdtopnm > screenshot.pnm 2>/dev/null
pnmtopng screenshot.pnm > screenshot.png
convert screenshot.png -adaptive-resize 128x96 screenshot-thumb.png
+ # for publishing
cp screenshot.png $RESULTS/screenshot_$TIMESTAMP.png
- mv screenshot.png screenshot-thumb.png $RESULTS/
+ # for the live screenshot plugin
+ mv screenshot.png screenshot-thumb.png $WORKSPACE/
}
first_test() {