Steps to create a new windows builder on Azure
Creating the VM
- Use the latest image. Currently this is
- Use the
- Add a user called
rhub, with the appropriate password.
- Create the VM.
This is needed unfortunately, I don't know why it is not captured in the image.
Turn off automatic daily updates, because they can reboot the machine. Also turn off the "Any user can update" "feature". (Seriously MS?)
Set the time zone. Originally it is set to UTC, and you can change it to anything you like.
Allow the builder machine on the AWS firewall.
Connect to Jenkins
Run this from a powershell command line, from the
Documents folder of the
java "-Dfile.encoding=UTF8" -jar .\swarm-client-2.2-jar-with-dependencies.jar -master http://jenkins.r-hub.io:8080 -executors 4 -labels "swarm slave windows" -username admin -password <the-jenkins-password>
Voila, you have a new windows builder.