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

Provide boolean response of copyArtifacts

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hello,

      I have a use case in which I attempt to pull artifacts, which may or may not exist, from many different jobs. If an artifact does not exist that's OK and my pipeline can continue, but only if I know which of my copyArtifacts calls failed so I can avoid trying to use those artifacts later on.

       

      I would like to be able to do something like this in my pipeline:

      artifactsFound = copyArtifacts.........

      if (!artifactsFound)

      {     make note of the details of this call }

        Attachments

          Activity

          t_wind thomas winderweedle created issue -

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            t_wind thomas winderweedle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: