[JIRA] (JENKINS-61407) Provide boolean response of copyArtifacts

3 views
Skip to first unread message

thomas.winderweedle@gmail.com (JIRA)

unread,
Mar 9, 2020, 5:21:02 PM3/9/20
to jenkinsc...@googlegroups.com
thomas winderweedle created an issue
 
Jenkins / Improvement JENKINS-61407
Provide boolean response of copyArtifacts
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: copyartifact-plugin
Created: 2020-03-09 21:20
Labels: plugin jenkins
Priority: Minor Minor
Reporter: thomas winderweedle

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 }
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages