You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1004 B

Setup Windows Slave node

Use case

  • Windows Application build pipeline (Visual Studio C++ / C#)

Tools

Windows

  • Create a user 'jenkins'

Steps

  • Create a jenkins slave node setup on jenkins server
  • Install JDK 11 (Preferable the same version as Jenkins Master Version)
  • Create a folder C:\jenkins
  • Download agent.jar from jenkins server
  • Run the agent using the Windows Service Wrapper as a Windows Service and log on as jenkins user profile
  • Create a ssh key and update rsa_id.pub to git server to allow agent to clone from git repo

Setup Jenkins build to target windows slave node for build

  • Create a build
  • Set label to target the slave node
  • Git clone to the node
  • Run the windows build script on the node