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

Allow copying artifacts from last (even failed) build

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major Major
    • copyartifact-plugin
    • None
    • Copy Artifact Plugin 1.25

      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.

          [JENKINS-17950] Allow copying artifacts from last (even failed) build

          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.

          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.

          Josh Davidson added a comment -

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

          Josh Davidson added a comment - Same issue here. My use case is nearly identical to Drew's.

          Jason Smiley added a comment -

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

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

          ikedam added a comment -

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

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

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

              Created:
              Updated:
              Resolved: