Forum Discussion
Try these links, it does look like there might be some DNS issues with the smartbear site right now though you might have to copy and paste them into a new window / tab.
https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/running-tests.html
You have configured your machine with Test Complete that you use for development as the Jenkins Slave to run the tests. If this is not the machine you want running the tests then you need to configure the other machines, otherwise how is Jenkins going to know to connect to them?
Any machine that is going to run the tests from jenkins has to be configured as a slave with the appropriate runner installed.
I suggest following through the preparing steps here for any machines you want to run tests.
https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/preparing.html
Your updates is giving me lot of information about the jenkins configuration. I have very less experience with Jenkins. Till now I am successful with running the testcomeplete tests on my machine from my local jenkins .
As discussed our main objective is to run the TestComplete tests on TestExecute machines . Currently TestExecute machines do not have jenkins installed Now as per your post, I need to install the jenkins in those machines and then we can configure them ?
Thanks
NG
- cunderw6 years agoCommunity Hero
Correct, you have to install the jenkins slave agen on the Test Execute machines and configure them. The preparing jenkins link includes all of the needed details for this to work. If you have any specific issues or problems let us know.
- nisgupta6 years agoValued Contributor
Thank you for the updates very much. We are trying to connect the testexecute machines with the jenkins server. there are some issues coming relating to connectivity and our administrator are working to reslove the connectivity issues. Once those connectivity issues get resolved then will update how it is working or may be we will have some other issues in running tescomplete tests. Will updates once the connectivity issue get resolved.
Thanks
NG
- nisgupta6 years agoValued Contributor
So Now I am launching the jenkins server from the testexecute machine . I have attached the screenshot.
When I press the lauch button I get the following error
Sep 27, 2018 9:54:20 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up agent: slave_pretty
Sep 27, 2018 9:54:20 AM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Sep 27, 2018 9:54:20 AM hudson.remoting.Engine startEngine
INFO: Using Remoting version: 3.23
Sep 27, 2018 9:54:20 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using C:\Users\nisgupta\Documents\TestComplete\remoting as a remoting work directory
Sep 27, 2018 9:54:20 AM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://microcar.ttu.edu:8080/]
Sep 27, 2018 9:54:20 AM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver resolve
INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
Sep 27, 2018 9:54:25 AM org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver isPortVisible
WARNING: connect timed out
Sep 27, 2018 9:54:25 AM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: http://microcar.ttu.edu:8080/ provided port:60540 is not reachable
java.io.IOException: http://microcar.ttu.edu:8080/ provided port:60540 is not reachable
at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:286)
at hudson.remoting.Engine.innerRun(Engine.java:523)
at hudson.remoting.Engine.run(Engine.java:474)
- shankar_r6 years agoCommunity Hero
Have you followed below steps to activate your slave?
- New Node --> Enter Node Name.
- Select Dumb Slave --> Press OK.
- Fill out the following:
- Set a number of executors (one or more) as needed.
- Set a Remote FS Root, a home directory for the master on the slave machine.
- For a Windows slave, use something like: "C:\Jenkins\"
- TODO: add details.
- Select the appropriate Usage setting:
- For an additional worker: Utilize this slave as much as possible
- For specialized jobs: Leave this machine for tied jobs only
- Launch Method:
- An easy way to control a Windows slave is by using Launch slave agents via Java Web Start (Recommended for Windows)
- TODO: add steps for other methods.
- Availability --> Keep this slave online as much as possible
- TODO: add details for each option.
- Press OK.
- Now you need to connect your slave machine to the master using the following steps.
- On you slave machine go to the Jenkins server url.
- Go to Manage Jenkins > Manage Nodes, Click on the newly created slave machine.
- Click on the Launch button to launch agent from browser on slave.
- Run the program.
- Now you should see the Slave machine connected under Nodes.
- If you want the service to run on start-up of the slave machine do the following (Windows only directions):
- In the Slave agent program running on your slave machine, click File --> Install as Windows Service.
- Start, type Services and Select the Services program.
- Find Jenkins Slave in the list, Double click to open.
- Select Startup type --> Automatic.
- Go to the Log On tab, change the Log on as to a user of your choice (Special user account Jenkins recommended).
- Make sure that auto login is set for the slave machine for the user account, then the VM (or physical computer) should connect and be available when needed.
- In the Slave agent program running on your slave machine, click File --> Install as Windows Service.
Related Content
Recent Discussions
- 3 hours agojstaehlin
- 20 hours agoAivanitskiy
- 24 hours agonastester