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 --------
Datum: 27.02.19 23:12 (GMT+01:00)
Betreff: Pipeline: How to modify Build History status monitor