Provide boolean response of copyArtifacts

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
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: