Get what stage of a pipeline failed in post actions

22 views
Skip to first unread message

red 888

unread,
Jan 17, 2018, 5:34:13 AM1/17/18
to Jenkins Users
In my pipeline's post{falure{}} block I want to report at which stage the pipeline failed. Is there an env or something that tracks this?

Baptiste Mathus

unread,
Feb 6, 2018, 4:46:28 PM2/6/18
to jenkins...@googlegroups.com
$STAGE_NAME ? 

Le 17 janv. 2018 11:34, "red 888" <fakemai...@gmail.com> a écrit :
In my pipeline's post{falure{}} block I want to report at which stage the pipeline failed. Is there an env or something that tracks this?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cd7a8ec2-df26-4dfb-a60d-6017b158b45e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages