Maybe you could share a gist of your script, showing the issue you're having and what you want/expect? Will probably be more efficient than just speaking about that code?
Le 2 août 2016 12:39 PM, <[email protected]> a écrit : > I still have the issue with a succeeded pipeline that shows red. > Even when I say: currentBuild.result = "SUCCESS" ... at the end > No trace all steps are executed fine .... just the state is wrong. > > Using now Jenkins 2.14 > > On Thursday, July 21, 2016 at 11:53:41 AM UTC+2, [email protected] > wrote: >> >> We are working with Jenkins 2.13 the moment. >> We have a ci/cd pipeline with all stages green but the build itself is >> red. >> >> From the log I cannot see anything which gives me a hint. >> Also all deployed stuff is fine and the final slack notification were >> also fine! >> >> Every "sh" call is wrapped by the try ... catch ... throw ... so if there >> would >> be an error the pipeline should stop at the stage where the error appears. >> >> I wrote manually a jenkinsfile but ... as you can guess ... all fine. >> >> I didn't found a way to check the build state. When is this set? >> Can I do an echo of current state so I could add some output? >> >> currentBuild.result prints null, so obviously this is not used. >> Any help, proposes? >> >> Kind regards, >> Thomas >> > -- > 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/deca56cf-72e0-4735-a570-e59aad7b79e7%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/deca56cf-72e0-4735-a570-e59aad7b79e7%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/CANWgJS4WD-qKYMQypf--siRRRHtd0uvHBf6D-0mmhMxcC7L9cg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
