Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32146

Last step misleadingly marked as blue even though build status is FAILURE

    Details

    • Similar Issues:

      Description

      I created a small project https://github.com/ngiger/jenkins-bug which produces contains two ArtifactArchivers steps. Both have fingreprinting enabled.

      I created a Multibranch Worksflow project, using the Jenkinsfile from the github project mentioned aboed.

      The first step one completes successfully, as the file exist.

      The second step one references a non existing file. All steps of the build have the blue icon, but inside the build.xml I see only one line
      <result>FAILURE</result>
      whereas the successful step had
      <hudson.tasks.Fingerprinter_-FingerprintAction>
      <record>
      <entry>
      <string>README.md</string>
      <string>3f7c3b7d5e5d582a09643416b80fafaf</string>
      </entry>
      </record>
      </hudson.tasks.Fingerprinter_-FingerprintAction>

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          The ball color in Pipeline Steps for the last step does not reflect overall build status.

          Show
          jglick Jesse Glick added a comment - The ball color in Pipeline Steps for the last step does not reflect overall build status.
          Hide
          svanoort Sam Van Oort added a comment -

          Jesse Glick Solved with the status APIs in pipeline-graph-analysis plugin (if a step is the last existing step in a run, build status overrides step status). The logic there could be borrowed if cyclic dependencies would be a blocker.

          Show
          svanoort Sam Van Oort added a comment - Jesse Glick Solved with the status APIs in pipeline-graph-analysis plugin (if a step is the last existing step in a run, build status overrides step status). The logic there could be borrowed if cyclic dependencies would be a blocker.

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              ngiger ngiger
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: