Re: sending email for unstable builds

2019-03-01 Thread Simon Bayer
. 'currentBuild.currentResult' is definitely what i needed and works as intended. On Fri, 1 Mar 2019 at 06:37, Simon Bayer mailto:schn...@msn.com>> wrote: Check This if u need post build actions for different build status: https://jenkins.io/doc/pipeline/tour/post/ Ursprüngliche Nac

Re: sending email for unstable builds

2019-02-28 Thread Simon Bayer
Check This if u need post build actions for different build status: https://jenkins.io/doc/pipeline/tour/post/ Ursprüngliche Nachricht Von: Simon Bayer Datum: 01.03.19 06:32 (GMT+01:00) An: jenkinsci-users@googlegroups.com Betreff: Re: sending email for unstable builds Dear

Re: sending email for unstable builds

2019-02-28 Thread Simon Bayer
Dear Faad, dear Sagar, U could check the global variable 'currentBuild.currentResult' in e.g. post build actions. Maybe it suits your needs. Doks: https://opensource.triology.de/jenkins/pipeline-syntax/globals#currentBuild Best regards Ursprüngliche Nachricht Von: Sagar

Re: Pipeline: How to modify Build History status monitor

2019-02-28 Thread Simon Bayer
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