Skip to content

Commit a909fc0

Browse files
Allow any project to copyArtifact from test jobs (#4028)
When a Jenkins instance doesn't allow anonymous read by default, the copyArtifact plugin step will fail unless the job with the artifacts has copyArtifactPermission enabled with a set of projects listed or a wildcard to allow any job. Signed-off-by: Adam Brousseau <[email protected]> Signed-off-by: Adam Brousseau <[email protected]>
1 parent 40551ba commit a909fc0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildenv/jenkins/testJobTemplate

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ ARCH_OS_LIST.each { ARCH_OS ->
195195
}
196196
}
197197
}
198+
copyArtifactPermission {
199+
projectNames('*')
200+
}
198201
}
199202

200203
definition {

0 commit comments

Comments
 (0)