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
1004 B
Setup Windows Slave node
Use case
- Windows Application build pipeline (Visual Studio C++ / C#)
Tools
- for installing jenkins agent as a windows service
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.jarfrom jenkins server - Run the agent using the
Windows Service Wrapperas a Windows Service and log on asjenkinsuser profile - Create a ssh key and update
rsa_id.pubto 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