Pipeline - Copying remote artifacts using CJP protocol

Issue

  • I’m getting the following error when trying to copy a remote artifact in a pipeline script while using the CJP protocol: IOException: Source job does not exist or you do not have permission to see the source job

Environment

  • Jenkins
  • CloudBees Jenkins Enterprise
  • Pipeline plugin

Resolution

Check your operation center’s global security settings and ensure that Authentication mapping underneath Client master security is set to Trusted master with equivalent security realm. If your security needs don’t allow you to change to this setting, you can instead use the Jenkins protocol to specify the source job. Documentation for both ways of specifying the source job can be found under the Cluster-wide copy artifacts documentation.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.