[JIRA] (JENKINS-51383) Jenkinsfile post success condition triggers after NoSuchMethodError Exception
Title: Message Title Liam Newman closed an issue as Fixed Bulk closing resolved issues. Jenkins / JENKINS-51383 Jenkinsfile post success condition triggers after NoSuchMethodError Exception Change By: Liam Newman Status: Resolved Closed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.190730.1526546188000.16292.1571801050270%40Atlassian.JIRA.
[JIRA] (JENKINS-51383) Jenkinsfile post success condition triggers after NoSuchMethodError Exception
Title: Message Title Andrew Bayer updated JENKINS-51383 Jenkins / JENKINS-51383 Jenkinsfile post success condition triggers after NoSuchMethodError Exception Change By: Andrew Bayer Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-51383) Jenkinsfile post success condition triggers after NoSuchMethodError Exception
Title: Message Title Andrew Bayer commented on JENKINS-51383 Re: Jenkinsfile post success condition triggers after NoSuchMethodError Exception Aah - we were only looking for an Exception, not an Error. Sigh. PR at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/282 switches to handle any Throwable lobbed out of the execution. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-51383) Jenkinsfile post success condition triggers after NoSuchMethodError Exception
Title: Message Title Andrew Bayer updated JENKINS-51383 Jenkins / JENKINS-51383 Jenkinsfile post success condition triggers after NoSuchMethodError Exception Change By: Andrew Bayer Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-51383) Jenkinsfile post success condition triggers after NoSuchMethodError Exception
Title: Message Title Andrew Bayer started work on JENKINS-51383 Change By: Andrew Bayer Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-51383) Jenkinsfile post success condition triggers after NoSuchMethodError Exception
Title: Message Title Martin Ulmschneider created an issue Jenkins / JENKINS-51383 Jenkinsfile post success condition triggers after NoSuchMethodError Exception Issue Type: Bug Assignee: Andrew Bayer Components: pipeline-model-definition-plugin Created: 2018-05-17 08:36 Environment: Jenkins 2.107.3 Pipeline 2.5 Priority: Major Reporter: Martin Ulmschneider The Jenkinsfile post success condition triggers when a java.lang.NoSuchMethodError: No such DSL method is thrown, which I would consider a clear failure. See Jenksfile and Output below. pipeline { agent any stages { stage('Error stage') { steps { script { doesnotexist "" echo "This is never printed" } } } } post { success { echo "Triggered post-success" } failure { echo "Triggered post-failure" } unstable { echo "Triggered post-unstable" } aborted { echo "Triggered post-aborted" } } } Checking out Revision 1ce3c457ecb7c6a5469c83ba6a55fa9025398e9c (post_conditions) Enabling Git LFS pull > git config core.sparsecheckout # timeout=10 > git checkout -f 1ce3c457ecb7c6a5469c83ba6a55fa9025398e9c > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials Bitbucket iRobot > git lfs