Jenkins integration

Ask general questions here.
Posts: 43
Joined: Fri Jan 17, 2020 5:29 am

Jenkins integration

Post by kavya13 » Sat Feb 22, 2020 7:45 am

Hello Team,

Kindly let me know, Is agent installation mandatory for jenkins execution? I have installed the agent software. I am not able to execute from Jenkins.
I am getting the following error:
Port is already in use. A different port can be set in the agent settings file. If you do so the agent needs to be added manually in ranorex studio.

Thanks in advance.

User avatar
Ranorex Guru
Ranorex Guru
Posts: 6560
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Jenkins integration

Post by odklizec » Mon Feb 24, 2020 10:02 am


If you are using Jenkins, you don't have to use agent execution (and so install Ranorex agent on target Jenkins slave machine) at all. Just follow the steps in Ranorex to Jenkins integration guide: ... roduction/

I'm personally using Master >> Slave configuration (multiple slaves for, multiple projects), where each test is build on master machine, then transferred to Slave machine (via archive artifacts) and then start the test via Ranorex execution plugin for Jenkins or windows batch command and Ranorex command line parameters... ... ldstepspan ... execution/

The message you are getting means, that the posr number, used by agent, is already in use and so you must change the port number in agent settings file. But as mentioned, if you are using Jenkins, you don't have to use agent at all.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration