[Qa-jenkins-scm] [jenkins.debian.net] 01/01: torbrowser tests: keep thumbnail of last screenshot in predictable location.

Holger Levsen holger at moszumanska.debian.org
Wed Nov 18 16:18:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 46a409eeac0711d080b4c088564eb875c0b9cc38
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Nov 18 17:18:00 2015 +0100

    torbrowser tests: keep thumbnail of last screenshot in predictable location.
---
 TODO                             | 1 +
 bin/test_torbrowser-launcher.sh  | 2 +-
 job-cfg/torbrowser-launcher.yaml | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/TODO b/TODO
index f82cf07..3f12964 100644
--- a/TODO
+++ b/TODO
@@ -413,6 +413,7 @@ The following ideas should really only be implemented for the new 'lvc*' tests..
 === torbrowser-launcher_*
 
 * not sure how to test updates. maybe just run in yesterdays schroot before upgrading
+* test alpha releases
 * notifications should go somewhere public, after a while of testing.
 * debug why iceweasel is needed to be installed… and ca-certificates too.
 * run this in qemu and enable apparmor too?
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index ee40d16..977a898 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -21,7 +21,7 @@ cleanup_all() {
 	[ ! -f $VIDEO ] || mv $VIDEO $RESULTS/
 	cd $WORKSPACE
 	[ ! -f screenshot.png ] || rm screenshot.png
-	[ ! -f screenshot-thumb.png ] || rm screenshot-thumb.png
+	[ ! -f screenshot-thumb.png ] || mv screenshot-thumb.png $RESULTS/
 	[ ! -f screenshot_from_git.png ] || mv screenshot_from_git.png screenshot.png
 	# shutdown and end session if it still exists
 	STATUS=$(schroot -l --all-sessions | grep $SESSION || true)
diff --git a/job-cfg/torbrowser-launcher.yaml b/job-cfg/torbrowser-launcher.yaml
index 14c6ad9..a728c6d 100644
--- a/job-cfg/torbrowser-launcher.yaml
+++ b/job-cfg/torbrowser-launcher.yaml
@@ -76,7 +76,7 @@
           latest_only: false
       - imagegallery:
           title: '{my_description}'
-          includes: 'results/*.png'
+          includes: 'results/screenshot_*.png'
           image-width: 300
       - email:
           recipients: '{my_recipients}'
@@ -132,7 +132,7 @@
           latest_only: false
       - imagegallery:
           title: '{my_description}'
-          includes: 'results/*.png'
+          includes: 'results/screenshot_*.png'
           image-width: 300
       - email:
           recipients: '{my_recipients}'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list