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

"Latest Artifacts" should read "Latest successful Artifacts"

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      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".

          [JENKINS-1035] "Latest Artifacts" should read "Latest successful Artifacts"

          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?

          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?

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

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

          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.

          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.

          Fixed as suggested in 1.160.

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

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

              Created:
              Updated:
              Resolved: