Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Jenkins 1.654
Ubuntu Linux
Description
I have a stage with a try/catch block. It attempts to copy an artifact from a previous build. If it can't, the step throws an exception which is caught and handled. In the catch block it copies it from a different location (successfully) and my pipeline continues. However, in visualization, the stage is marked as failed. I would expect that regardless of exceptions thrown, if the stage completes successfully it should be green in visualization.
This is the error that is thrown/caught:
hudson.AbortException: Unable to find project for artifact copy: null This may be due to incorrect project name or permission settings; see help for project name in job configuration.
Attachments
Issue Links
- is duplicated by
-
JENKINS-36415 Stage is displayed as failed although it completed successfully after retrying
-
- Closed
-
- is related to
-
JENKINS-26522 Annotated block/stage status
-
- Closed
-
Well, making implementation that depend on workaround is also not great idea.
.
I stick to old version because I like to see greed/red status for each stage, with new version all stages become red, but those that were red previously are darker. When using currentBuild.result that stages lose that darker color
As this is mainly information for me, I going to stick with current version and wait
.
JENKINS-26522.With parallel task there is one problem, they don't visible directly in Stage View
And I like a current Stage View, nice to see specific steps build, ut, component tests, target tests, ... See how much time were needed for each stage...