How to use assertion failure in jelly script - jenkins

10 views
Skip to first unread message

Ahmed

unread,
Apr 30, 2015, 6:06:39 AM4/30/15
to jenkins...@googlegroups.com
How to use assertion failure in jelly script - jenkins

Currently I'm ${JELLY_SCRIPT,template="html"} to view email report as:

BUILD UNSTABLE
Build URLhttp://localhost/jenkins/job/TestJob/2/
Project:TestJob
Date of build:Wed, 29 Apr 2015 12:47:47 +0000
Build duration:56 sec

CHANGES
No Changes

JUnit Tests
Name: (root) Failed: 2 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 3 test(s)
  • Failed: TestCase1
  • Failed: TestCase2

Here its showing failed test case but i want to send the email that can show the cause of failure.

Any idea how to do it?
Reply all
Reply to author
Forward
0 new messages