Hi Mike, u could use the object 'currentbuild' to modify the job description. 
Its available in declarative pipeline builds (e.g. with multiproject pipeline 
plugin). Furthermore the build status can be set. But beware: if u set the 
status to 'failure', Post build actions for failures will not be triggered. Use 
the default step 'error' instead.

Script-Example:
script {
currentBuild.description = 'Jenkins is awesome'
currentBuild.status = 'success'
}

Greets



-------- Ursprüngliche Nachricht --------
Von: Mike Craig <[email protected]>
Datum: 27.02.19 23:12 (GMT+01:00)
An: Jenkins Users <[email protected]>
Betreff: Pipeline: How to modify Build History status monitor

Hello,

Prior to using declarative pipeline, we were able to modify the Build History 
to indicate information we wanted to see.
We are using a shared "terraform-deploy" pipeline now and would like to modify 
this build history to display which project (aka component) was built in that 
run.


[build history.png]

Thank you,

Mike


--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c7a6018e-3600-42f7-91c5-56caeae99bdc%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/c7a6018e-3600-42f7-91c5-56caeae99bdc%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/BN8PR15MB3441DF5E5735C011915B8C2BAC750%40BN8PR15MB3441.namprd15.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to