Re: sending email for unstable builds

2019-03-19 Thread Mark Lübbehüsen
7;publish') { > > } > > } > > > I do not want to publish when the build is unstable. Like I mentioned > earlier. I want to stop the build and publish test result. I tried using > answers suggested above but could not help in my use-case.any idea? > > On

Re: sending email for unstable builds

2019-03-19 Thread Mark Lübbehüsen
> > >step ([$class: 'MSTestPublisher', testResultsFile:"**/*.xml", > failOnError: true, keepLongStdio: true]) > > } > > stage ('publish') { > > } > > } > > > I do not want to publish w

Re: sending email for unstable builds

2019-03-11 Thread Mark Lübbehüsen
Hi, its better you send emails in the post action post { always { } success { } unstable { } failure { } aborted { } } https://jenkins.io/doc/pipeline/tour/post/ Am Donnerstag, 28. Februar 2019 21:41:50 UTC+1 schrieb F

Re: Jenkins Declarative Pipeline: Lock multiple stages using NODE_NAME as resource.

2019-03-11 Thread Mark Lübbehüsen
Hi, after downloading the Lockable Resource Plugin in Jenkins, you have to configure it in the system configuration of jenkins. Am Freitag, 8. März 2019 00:58:59 UTC+1 schrieb Dusan Nikolov: > > Hi, I'm trying to lock multiple stages in a pipeline and would like to use > NODE_NAME as the reso