Forum Discussion
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)
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
- 11 years ago
- 3 years ago
- 8 years ago
- 4 years ago