Trigger jobs across masters


  • I would like to trigger a job on another master.
  • I would like to set a remote downstream job.


  • CloudBees Jenkins Platform (CJP), Client Masters (CM) connected to CloudBees Jenkins Operation Center (CJOC)


Select a job which triggers a remote one and then go to Job Configuration > Build section > Add Build Step > Trigger builds on remote/local projects option.

This configuration allows you to trigger another exiting job on a different CM (remote). The downstream job name part will autocomplete.

After you configure this you can trigger a new build and see the job executing on the other Jenkins Master:

Console output of triggering job:

Console output of triggered job (remote):

Note: In case you encounter an error similar to:

[operations-center-context] Could not find remote item at » remoteTriggerJobExample

Check at the CloudBees Jenkins Operations Center, under Manage Jenkins -> Configure Global Security -> Client master security

  • Security Setting Enforcement > it needs to be one of the Single Sign-On options
  • Authentication mapping > it needs to Trusted Master with equivalent Security Realm

Then you need to re-connect your masters back to your CloudBees Jenkins Operations Center as described in Configuring permissions for cross-master triggers

Here is a demonstration how to do both these steps to fix the [operations-center-context] Could not find remote item at error:
gif of the triggerRemoteJob fix

Have more questions?


  • 0
    Arnaldo Garat

    Can this be done in Jenkinsfile?

  • 0
    RDM - Release Deployment Management

    How can this set up be done with JobDSL? What would the syntax looks like?

  • 0
    Ray Kivisto

    Can this be done in Jenkinsfile?

    Yes it can, the Pipeline step is called triggerRemoteJob. I recommend using the Snippet Generator to generate the Pipeline syntax: 

Please sign in to leave a comment.