[JIRA] (JENKINS-36415) Stage is displayed as failed although it completed successfully after retrying
Title: Message Title Sam Van Oort closed an issue as Fixed Jenkins / JENKINS-36415 Stage is displayed as failed although it completed successfully after retrying Change By: Sam Van Oort 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-36415) Stage is displayed as failed although it completed successfully after retrying
Title: Message Title Sam Van Oort commented on JENKINS-36415 Re: Stage is displayed as failed although it completed successfully after retrying Reproducing this on my own system, I've confirmed this caused by JENKINS-34212 - and the fix that I have prepared in https://github.com/jenkinsci/pipeline-stage-view-plugin/pull/21 for that issue will also resolve it. You should have your fix next week when it's out of review and I've cut the release. 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-36415) Stage is displayed as failed although it completed successfully after retrying
Title: Message Title Timo Ulich updated an issue Jenkins / JENKINS-36415 Stage is displayed as failed although it completed successfully after retrying Change By: Timo Ulich We have implemented a retry mechanism in our pipeline and if the step fails in the first run, then is retried and then succeeds, the stage is still shown as failed, but the build is green.See the attached screenshot. The second stage in Build #124 is shown as failed which was retried once. To reproduce:{code}node {stage "1"stage "2"def counter = 0waitUntil {counter++try {if (counter == 1) {sh "false"}return true}catch (e) {return false}}stage "3"}{code} 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
[JIRA] (JENKINS-36415) Stage is displayed as failed although it completed successfully after retrying
Title: Message Title Timo Ulich updated an issue Jenkins / JENKINS-36415 Stage is displayed as failed although it completed successfully after retrying Change By: Timo Ulich We have implemented a retry mechanism in our pipeline and if the step fails in the first run, then it is retried and then succeeds, the stage is still shown as failed, but the build is green.See the attached screenshot. The second stage is shown as failed which was retried once. To reproduce:{code}node {stage "1"stage "2"def counter = 0waitUntil {counter++try {if (counter == 1) {sh "false"}return true}catch (e) {return false}}stage "3"}{code} 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
[JIRA] (JENKINS-36415) Stage is displayed as failed although it completed successfully after retrying
Title: Message Title Timo Ulich created an issue Jenkins / JENKINS-36415 Stage is displayed as failed although it completed successfully after retrying Issue Type: Bug Assignee: Sam Van Oort Attachments: screenshot.png Components: pipeline-stage-view-plugin Created: 2016/Jul/04 1:40 PM Environment: Jenkins 2.11 pipeline-stage-view-plugin 1.5 Priority: Minor Reporter: Timo Ulich We have implemented a retry mechanism in our pipeline and if the step fails in the first run, then is retried and then succeeds, the stage is still shown as failed, but the build is green. See the attached screenshot. The second stage in Build #124 is shown as failed which was retried once. To reproduce: node { stage "1" stage "2" def counter = 0 waitUntil { counter++ try { if (counter == 1) { sh "false" } return true } catch (e) { return false } } stage "3" }