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

"Latest Artifacts" should read "Latest successful Artifacts"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      If a job fails its artifacts are not saved by hudosn. I think this is the
      intended behavior for building some kind of software.

      We use use hudson to run tests and those jobs produce log files which we need if
      a test has failed. Currently I have to dig into the workspace view in order to
      find logs of a failed test. It would be better if hudson would collect the
      artifacts of such a failed build and show these on the "Build artifacts" page.

      In the job configuration page, under "Post-build Actions" > "Archive the
      artifacts" > "Advanced..." could be a switch labelled "Archive artifacts even if
      build failed".

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Artifact archiver has no such logic in it. It will archive artifacts regardless
          of whether the build failed or succeeded.

          Maybe you are complaining about the "last successful artifacts" link in the
          project top page — perhaps you are saying that you want this to be just "last
          artifacts" in your case?

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Artifact archiver has no such logic in it. It will archive artifacts regardless of whether the build failed or succeeded. Maybe you are complaining about the "last successful artifacts" link in the project top page — perhaps you are saying that you want this to be just "last artifacts" in your case?
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          If that's the case, please reopen with appropriate title.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - If that's the case, please reopen with appropriate title.
          Hide
          gradopado gradopado added a comment -

          changed old summary "Archive the artifacts" allow for collecting artifacts of
          failed builds"

          Yes, you're right Kohsuke, the link on the top page has a misleading label. It
          is okay to present just the latest good build results. It's okay go to a build's
          page for accessing its logs.

          So please change the label and I'll be fine with it.

          Show
          gradopado gradopado added a comment - changed old summary "Archive the artifacts" allow for collecting artifacts of failed builds" Yes, you're right Kohsuke, the link on the top page has a misleading label. It is okay to present just the latest good build results. It's okay go to a build's page for accessing its logs. So please change the label and I'll be fine with it.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed as suggested in 1.160.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed as suggested in 1.160.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gradopado gradopado
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: