How to Install Jenkins Agent on Windows

preview_player
Показать описание
Need help with your Jenkins questions?

Timecodes ⏱:

00:00 Introduction
00:06 Starting point
00:22 Determine Java version running controller process
01:21 Create agent definition on controller
02:59 Verify basic configuration of Windows agent
04:09 Download WinSW
05:29 Create XML configuration file
10:20 Install the service
12:50 Troubleshoot the service configuration
14:33 Review the agent status in the controller
15:12 Specify a user to run the service
20:53 Conclusion

#jenkinstutorial #jenkinsagent

Information referenced in this video:

Link to Gist:

Jenkins LTS 2.332.2

CloudBees on Twitter:

Darin on Twitter:
Рекомендации по теме
Комментарии
Автор

Such a clear and easy to follow tutorial! Thank you for your time!

mathieup
Автор

Very clear tutorial. It makes it so easy to create a Jenkins agent. I struggled a lot when I was trying to install Jenkins agent a couple of years ago. Wish I had such a helpful tutorial to follow at that time.

victoriaweilei
Автор

Thank you Sir! Great article !! I have successfully configured Windows service using this.

Anilkumar-pypk
Автор

Great tutorial! Easy to understand and follow! Thank you :)

danielneamtiu
Автор

Clear and concise! Love this presentation

evemuhia
Автор

Very much helpful. Thanks a lot for this video

ride_it_
Автор

This was excellent! Thanks for sharing the knowledge

NathanTidwell
Автор

I start my Windows agent via SSH from the Controller. Very comfortable once set up

Lugge
Автор

Wow he's good. Excellent tutorial.

bubblerings
Автор

Is setting this up as a service any better than just running that "Run from agent command line" code from the command line manually?

danielcohen
Автор

I enjoyed the video. I'm trying to get help because I encountered the following problem while trying to practice.

1. Manage Jenkins
2. Manage nodes and clouds
3. Add New Node
4. Launch method: Launch agent by connectong ot to the controller
> Use WebSocket
> 'WebSocket support is not enabled in this jenkins installation' <<< Please tell me how to solve it for outputting the phrase.

jjunm
Автор

I encountered error 1064: an exception occurred in the service when handling the control request. Does anyone know how to resolve it? I try to start it via the terminal and it says that the service starts successfully... but it doesn't.

a_suslov
Автор

Hello, if Jenkins is already configured and running on a node in a folder, what do I need to change the folder?

saulofigueiredo
Автор

Anonymous read is turned on that's why you are not getting 403, Is there any method we can do the authentication without tokens/passwords for agent connection.

shubhamgupta
Автор

Hello,

After Windows Restart the Agent not started Automatically, what can I do please?

landolsi
Автор

I've been using winsw for 2 years now with fully automated auto-(re)connecting agents, I don't see a way to accomplish this if I have to manually type in the windows account password.
Also, how secure is it having the agent secret in the winsw xml file on the filesystem?

NastyWicked
Автор

There used to be an easy way "launch the agent from browser and click on install it as windows service" without the steps for us to do. what happened to it? Why did you remove it?

tinnu.universe
Автор

Dont remove manual jnlp install agents pls.

justmak
Автор

But for the service setup the simple Jenkins "solution" still exists (Tested on Jenkins 2.332.1)

1. download the to the agent wher you want to run the agent
2. On the agent run javaws jenkins-agent.jnlp
3. from the started GUI : File -> install as a service

And it will create the windows service

sandorbuda
Автор

Thank you very much for this easy and well detailed tutorial. :)

gergelysandorjakab