Wednesday, December 15, 2010

Several of my colleagues had trouble installing Hudson slave on a Windows machine. I was at a client site, and so decided to write step-by-step instructions for installing the same. It worked, and everyone was happy. So, here comes the instructions with screen shots.

1. Log into the windows machine where the slave needs to be setup.
2. Open up a browser and connect to the master. http://yourmaster:yourport. In my case, it is http://windowsserver:7223
3. Click on Manage Hudson -> Manage Nodes. This will bring the following page:

4. Click on New Node. Provide a slave name and check on Dumb Node, and click OK.

5.Next, provide all the details for this slave

6. Save the setting. Put the slave.jar in a folder. From this folder run the following command:

Failing to obtain http://korvm027.apac.bosch.com:8080/computer/Slave/slave-agent.jnlpjava.io.IOException: Failed to load http://korvm027.apac.bosch.com:8080/computer/Slave/slave-agent.jnlp: 404 Not Found at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:229) at hudson.remoting.Launcher.run(Launcher.java:191) at hudson.remoting.Launcher.main(Launcher.java:167)

Thank your for the nice article, Could you please let me know if i can new add node using hudson-cli.jar then i want to use this node for various builds. if you had tried adding node please let me know the steps.

About Me

I have worked at various levels in the software industry since my graduation in 1987. I have several years of software programming experience around the globe, from Bangalore, India to Dubai, United Arab Emirates, to the United States. I have been working on JEE and .NET technologies exclusively for the last several years. Since joining Synopsys, have been working on all of CI/CD, DevSecOps, Secure SDLC activities such as code review, Threat Modeling, ARA, and training.
I am also very involved in the Java community. Several of my own book reviews, articles have been published by JavaLobby.