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

Allow copying artifacts from last (even failed) build

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Copy Artifact Plugin 1.25
    • Similar Issues:

      Description

      I'd like to be able to copy artifacts from last completed build, both successful and failed. Currently there is no way to achieve that with Copy Artifact Plugin.

        Attachments

          Issue Links

            Activity

            Hide
            drewr Drew Reed added a comment -

            I have the same problem.

            In my case I'm trying to collate test results from a number of test jobs.
            However if any of the test jobs get marked as failed then the collation job is unable to find them even if they have produced output.

            For now I've had to use the xuint test plugin to set the fail thresholds so that the worst state a successfully run test job can be set to is unstable but that's somewhat misleading to other users.

            Show
            drewr Drew Reed added a comment - I have the same problem. In my case I'm trying to collate test results from a number of test jobs. However if any of the test jobs get marked as failed then the collation job is unable to find them even if they have produced output. For now I've had to use the xuint test plugin to set the fail thresholds so that the worst state a successfully run test job can be set to is unstable but that's somewhat misleading to other users.
            Hide
            davidsj2 Josh Davidson added a comment -

            Same issue here. My use case is nearly identical to Drew's.

            Show
            davidsj2 Josh Davidson added a comment - Same issue here. My use case is nearly identical to Drew's.
            Hide
            jasonsmiley Jason Smiley added a comment -

            This should work now (use last completed build is now available)

            Show
            jasonsmiley Jason Smiley added a comment - This should work now (use last completed build is now available)
            Hide
            ikedam ikedam added a comment -

            "Last Completed Build" selector is available since 1.33 (JENKINS-16476).
            Please try that.

            Show
            ikedam ikedam added a comment - "Last Completed Build" selector is available since 1.33 ( JENKINS-16476 ). Please try that.

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                pancake pancake
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: