[Qa-jenkins-scm] [jenkins.debian.net] 02/02: lvc: let's have loads of screenshots

Holger Levsen holger at layer-acht.org
Sun May 22 18:30:45 UTC 2016


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 776f5f483c8d2e387b39d83caf66f8aa4e3017d0
Author: Philip Hands <phil at hands.com>
Date:   Sun May 22 20:18:31 2016 +0200

    lvc: let's have loads of screenshots
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 cucumber/features/step_definitions/snapshots.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cucumber/features/step_definitions/snapshots.rb b/cucumber/features/step_definitions/snapshots.rb
index 8b06ebd..9108c0b 100644
--- a/cucumber/features/step_definitions/snapshots.rb
+++ b/cucumber/features/step_definitions/snapshots.rb
@@ -223,8 +223,10 @@ def reach_checkpoint(name)
         debug_log(scenario_indent +
                   "Step failed while creating checkpoint: #{s}",
                   :color => :red)
+        live_screenshot
         raise e
       end
+      live_screenshot
       debug_log(step_indent + "#{step_action} #{s}", :color => :green)
       step_action = "And"
     end

-- 
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