[JIRA] (JENKINS-34615) Global error handler for pipeline
Title: Message Title Michael Neale commented on JENKINS-34615 Re: Global error handler for pipeline Kamil P using: https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Model+Definition+Plugin You can do things like: pipeline { agent any stages { stage('first') { sh 'this will fail' } } post { failure { sh 'do this on failure only' } } } Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-34615) Global error handler for pipeline
Title: Message Title Kamil P commented on JENKINS-34615 Re: Global error handler for pipeline I'm afraid I cannot find anywhere how to do this with multibranch pipeline and Jenkinsfile. Would you provide more details please with links to relevant pages describing how to use this. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-34615) Global error handler for pipeline
Title: Message Title Michael Neale closed an issue as Fixed Jenkins / JENKINS-34615 Global error handler for pipeline Change By: Michael Neale Status: Open Closed Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-34615) Global error handler for pipeline
Title: Message Title Michael Neale commented on JENKINS-34615 Re: Global error handler for pipeline I think we can close this as this is already handled in pipeline config plugin now via postBuild actions. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-34615) Global error handler for pipeline
Title: Message Title Jesse Glick updated an issue Jenkins / JENKINS-34615 Global error handler for pipeline Change By: Jesse Glick Component/s: pipeline-config-plugin Component/s: pipeline Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-34615) Global error handler for pipeline
Title: Message Title Michael Neale commented on JENKINS-34615 Re: Global error handler for pipeline Daniel Beckham partly, partly to avoid try/catch. Not entirely cosmetic, but yeah, that would be nice. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-34615) Global error handler for pipeline
Title: Message Title Daniel Beck commented on JENKINS-34615 Re: Global error handler for pipeline Sure, it could With no net gain as there'd still be a set of curly braces around everything. I think the idea is to somehow not need that additional level of indent for everything. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.