Jenkins on Windows Azure, the missing manual — Slave

  1. Create a VM from Windows Azure Portal, remote desktop into that machine.
  2. Login as Administrator
  3. Turn Off IE enhanced security by going to Server Manager -> Local Server
  4. In command line windows, Install .NET 3.5 using the following command

Dism /online /enable-feature /all /featurename:NetFX3

  1. From Windows Control Panel, create a new account : yourloginname, grant Adminstrator privilage to it.
  2. Login as yourloginname
  3. reboot the machine. 
  4. Install Java (JDK) on the slave machine via the official Java website ( )
  5. Using this IE, you can download git for windows from official git website ( ) and install it.
  6. In Jenkins' portal (The URI master exposes), create a slave node. Manager Jenkins->Manage Node->New Node. Fill in the information. Launch method select Java Web Starter.
  7. Start the Jenkin Slave via the Java Web Starter from Jenkins->Manage Jenkins->Manage Node.
  8. Right click the Jenkins Slave service from services.msc, click properties. Click "Log On" tag, second from left, change the user from local account to the account you want to run the project.
  9. Generates SSH key following the instruction
  10. After github plugin has been installed on master, configure the Slave accordingly by following the instruction on git plugin ( )
  11. Add git path (C:\Program Files (x86)\Git\cmd ) to system enviroment.
  12. After installing github plugin, in System Configuration, add your github user name and email to the github plugin configuration. 
Comments (1)

Comments are closed.

Skip to main content