soundararajan.c
soundararajan.c

Reputation: 2567

Connection between 2 Jenkins server with out using master slave concepts

How to establish connection between Jenkins jobs hosted on different server with out using master slave concept

I need to send the parameters from one Jenkins server to another both were hosted in different server;

and i need to trigger a down stream project in another Jenkins server

Upvotes: 0

Views: 3549

Answers (1)

Rahul Sharma
Rahul Sharma

Reputation: 330

You can use Parameterized remote trigger plugin: https://wiki.jenkins.io/display/JENKINS/Parameterized+Remote+Trigger+Plugin There are two parts to use this plugin-

  1. Configuration - Go to Manage Jenkins -> Configure System -> Parameterized Remote Trigger Configuration fill the parameters as appropriate and check the connection using 'validate address' button. If it is validated successfully you are good to go.
  2. Calling a job on remote server - In your job you can add a build step "trigger remote parameterized job". Fill in the remote server name, poll interval, job name and other parameters. Now when you will run your job, it will trigger the job on remote server and will check for status on the interval given in poll interval option.

Upvotes: 1

Related Questions