How to Install Jenkins Agent on Windows

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

ความคิดเห็น • 47

  • @victoriaweilei3949
    @victoriaweilei3949 ปีที่แล้ว

    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.

  • @mathieup3765
    @mathieup3765 2 ปีที่แล้ว +3

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

  • @1990Maxwell
    @1990Maxwell 4 หลายเดือนก่อน

    Best video by far for Jenkins Windows agent setup

  • @gergelysandorjakab2549
    @gergelysandorjakab2549 ปีที่แล้ว

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

  • @Anilkumar-py1pk
    @Anilkumar-py1pk 2 ปีที่แล้ว

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

  • @evemuhia2
    @evemuhia2 ปีที่แล้ว

    Clear and concise! Love this presentation

  • @LomadelOrtoOK
    @LomadelOrtoOK หลายเดือนก่อน

    Thanks, it helps me a lot

  • @Lugge1999
    @Lugge1999 2 ปีที่แล้ว +2

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

  • @ride_it_
    @ride_it_ 2 ปีที่แล้ว +1

    Very much helpful. Thanks a lot for this video

  • @BarelyPayingattention
    @BarelyPayingattention 6 หลายเดือนก่อน

    Awesome tutorial. Great job!

  • @NathanTidwell
    @NathanTidwell ปีที่แล้ว

    This was excellent! Thanks for sharing the knowledge

  • @danielneamtiu707
    @danielneamtiu707 2 ปีที่แล้ว

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

  • @diogomenezes7447
    @diogomenezes7447 ปีที่แล้ว

    GREAAAATTT! Thank you so much!

  • @luisbetancourt1949
    @luisbetancourt1949 ปีที่แล้ว

    Thank you! Great tutorial

  • @BJ-ru2cl
    @BJ-ru2cl 2 ปีที่แล้ว

    Great tutorial! Thanks for your work.

  • @dhasanka
    @dhasanka 2 ปีที่แล้ว

    clear step by step , thanks

  • @bubblerings9337
    @bubblerings9337 ปีที่แล้ว

    Wow he's good. Excellent tutorial.

  • @tinnu.universe
    @tinnu.universe 2 ปีที่แล้ว +2

    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?

    • @rigomatezoltan4302
      @rigomatezoltan4302 2 ปีที่แล้ว +1

      It has to do with some Java 11 Voodoo if I remember correct.

    • @noahwh
      @noahwh 2 ปีที่แล้ว

      It used Java Web Start, which was removed by Oracle starting in Java 11.

  • @danielcohen3276
    @danielcohen3276 2 ปีที่แล้ว +1

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

  • @joshuaandresblancojerez6455
    @joshuaandresblancojerez6455 ปีที่แล้ว

    great tutorial

  • @jjunm2650
    @jjunm2650 ปีที่แล้ว

    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'

  • @smartworkflow1211
    @smartworkflow1211 3 หลายเดือนก่อน

    What is the purpose of a secret key token here
    Is it a temporary token
    Or permanent token

  • @saulofigueiredo6162
    @saulofigueiredo6162 ปีที่แล้ว

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

  • @ashok2831
    @ashok2831 2 ปีที่แล้ว

    Thanks a lot !!!

  • @landolsi
    @landolsi ปีที่แล้ว

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

  • @rinmlo
    @rinmlo 15 ชั่วโมงที่ผ่านมา

    Looks like that winsw github project is unmaintained, and and as far as I can tell it is not working on windows 11. Compiles and installs but get 'Unable to create process using'... errors when trying to execute python via the agent service.

  • @almsrgw
    @almsrgw ปีที่แล้ว

    awesome

  • @ulman8829
    @ulman8829 2 ปีที่แล้ว +2

    i try , but i get Handshake error ?

    • @BJ-ru2cl
      @BJ-ru2cl 2 ปีที่แล้ว

      Maybe you can open the agent configuration page, enable "Use WebSocket" and try again.

    • @KoljaMineralka
      @KoljaMineralka ปีที่แล้ว

      I'm getting the same error !!! tried both TCP and Websocket, did you fix it ???

    • @cedric13071974
      @cedric13071974 6 หลายเดือนก่อน

      Same error for me because Jenkins is behind a Apache which provide https. Adding the certificate to the keystore, or trying to force to use port 8080 doesn’t seems to work. The configuration for using a Windows agent is over-complicated.

    • @cedric13071974
      @cedric13071974 6 หลายเดือนก่อน

      Oh ho. Adding the certificate chain to the keystore solve my issue but now i have a Handshake error. So the SSL Handshake error i solved was different than yours.

  • @a_suslov
    @a_suslov 2 ปีที่แล้ว

    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.

  • @YankeezeFan
    @YankeezeFan 2 ปีที่แล้ว

    fantastic

  • @shubhamgupta7652
    @shubhamgupta7652 2 ปีที่แล้ว

    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.

  • @NastyWicked
    @NastyWicked 2 ปีที่แล้ว

    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?

    • @turbobobi
      @turbobobi 2 ปีที่แล้ว

      Technically, you can keep the secret in a separate file and just make the command line consume that file - there's an example of this in examples GitHub repo for WinSW.
      Also, using a custom local account is completely optional in my view - the default (Local System) is good enough in most situations.

  • @justmak777
    @justmak777 2 ปีที่แล้ว +1

    Dont remove manual jnlp install agents pls.

  • @sandorbuda5909
    @sandorbuda5909 2 ปีที่แล้ว +3

    But for the service setup the simple Jenkins "solution" still exists (Tested on Jenkins 2.332.1)
    1. download the %JENKINS_URL%/computer/AGENt_name/jenkins-agent.jnlp 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

    • @muddyboy999
      @muddyboy999 2 ปีที่แล้ว +1

      I tried this but unfortunately I'm using OpenJDK which doesn't include javaws :(

    • @sandorbuda5909
      @sandorbuda5909 2 ปีที่แล้ว

      @@muddyboy999 I guess I used openjdk 1.8

    • @sandorbuda5909
      @sandorbuda5909 2 ปีที่แล้ว

      @@muddyboy999 I have checked that. Adopt openjdk has "javaws" the icedtea-web

  • @waleedsaeed7521
    @waleedsaeed7521 ปีที่แล้ว

    Really helpful.. Thanks man.