Provide boolean response of copyArtifacts

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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 }

            Assignee:
            Unassigned
            Reporter:
            thomas winderweedle
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: