[JIRA] (JENKINS-48315) Add env variable LAST_STAGE_NAME which will persist when stage ends prematurely

4 views
Skip to first unread message

jenkins@klep.net (JIRA)

unread,
Apr 5, 2019, 5:01:03 PM4/5/19
to jenkinsc...@googlegroups.com
Aaron Klepinger commented on Improvement JENKINS-48315
 
Re: Add env variable LAST_STAGE_NAME which will persist when stage ends prematurely

This would be very helpful for sending failure messages.  +1!

 

Right now we have each stage in a try/catch block to be able to accurately reflect the stage name where something failed.  Having this var would allow us to get rid of dozens of lines of code and really simplify our pipelines.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mark.han@willowtreeapps.com (JIRA)

unread,
Jul 26, 2019, 2:12:02 PM7/26/19
to jenkinsc...@googlegroups.com

luckyhk.lee@samsung.com (JIRA)

unread,
Nov 21, 2019, 5:37:02 AM11/21/19
to jenkinsc...@googlegroups.com

when unstable result (fail or abort, etc),

I should send email about which commit, which job, which status, which stage.

only thing I can not know for now is stage.

Andrew Bayer Please consider this issue.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages