Pipeline - Copying remote artifacts using CJP protocol

Article ID:115002699608
1 minute readKnowledge base

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 controller security is set to Trusted controller 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.