0
votes

I tried solutions listed on Stackoverflow i.e.:

How to configure Jenkins for distributed load using multiple Jmeter-servers

However when I trigger a job from Jenkins, it looks for JMeter-server Master install in local machine.

Question: 1. How to configure Jenkins to look for Jemeter-server Master instance running on a specific machine 2. can I run my jmeter-server master instance on a separate machine than where Jenkins is running. 3. How Jenkins identify which instance is Master and which instance is slave

1

1 Answers

0
votes

You need to familiarise yourself with the concept of Jenkins Distributed Builds feature.

  1. On Jenkins Master open "Manage Jenkins -> Manage Nodes"

    Jenkins Manage Nodes

  2. Click "New Node" and provide a meaningful name for it (I use "Windows" since my master is running on a Mac and I'm going to have a Windows slave)
  3. Perform the necessary configuration (here I use Launch agent via Java Web Start option ) and save it.

    Jenksns slave configuration

  4. On the machine which you are going to use as a slave open the same page ("Manage Jenkins -> "Manage Nodes"). You will see a new node called "Windows"

    Jenkins Windows Slave

  5. Use one of the provided ways to launch a Jenkins slave on the agent

    Jenkins launch agent

  6. Assuming everything goes well you should be able to see a new "Windows" slave machine

    Jenkins New Slave

    1. So now you should be able to "tell" Jenkins where you would like the build to be executed via Restrict where this project can be run setting:

    enter image description here

References: