Skip to content

Commit

Permalink
Allow any project to copyArtifact from test jobs (#4028)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
AdamBrousseau authored Oct 12, 2022
1 parent 40551ba commit a909fc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildenv/jenkins/testJobTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ ARCH_OS_LIST.each { ARCH_OS ->
}
}
}
copyArtifactPermission {
projectNames('*')
}
}

definition {
Expand Down

0 comments on commit a909fc0

Please sign in to comment.