#1 - Jenkins Master and Slave Configuration | How to run Jenkins job on Slave node

Sdílet
Vložit
  • čas přidán 9. 02. 2022
  • DevOps Online Training Registration form : bit.ly/valaxy-form
    Documentation: github.com/ravdy/DevOps/blob/...
    GitHub: github.com/ravdy
    DevOps Online Training Registration form: bit.ly/valaxy-form
    For Online training, connect us on WhatsApp at +91-9642858583
    ============ Online Trainings =========
    Online Trainings:
    DevOps Practitioner Training ► bit.ly/valaxydpt
    Live Realtime Project Training ► bit.ly/valaxyrpt
    Interview Preparation Sessions ► bit.ly/valaxydip
    ============ Udemy Courese =========
    AR Shankar Udemy Courses ► bit.ly/udemyshankar
    Linux for DevOps ► bit.ly/udemyvinux
    Git for DevOps ► bit.ly/udemygithub
    Ansible for DevOps Beginners ► bit.ly/udemyansible
    Maven for DevOps ► bit.ly/udemymaven
    DevOps Project ► bit.ly/udemydevops
    ============ Our Other Courses =========
    Packages:
    Valaxy Ultimate Plan ► bit.ly/valaxyup
    DevOps AWS and Python ► bit.ly/valaxydap
    DevOps AWS and Shell Scripting ► bit.ly/valaxydas
    All About AWS ► bit.ly/valaxyap
    Other Courses:
    DevOps Course ► bit.ly/valaxydcc
    Azure Administration ► bit.ly/valaxyat
    Production Ready Project ► bit.ly/valaxydrp
    Kuberentes Project ► bit.ly/valaxykp
    AWS (Amazon Web Services) ► bit.ly/valaxyatt
    Python Complete Course ► bit.ly/valaxypcc
    Shell Scripting ► bit.ly/valaxybss
    AWS automation with Boto3 ► bit.ly/valaxyabp
    Valaxy PPTs ► bit.ly/valaxyppt
    ============ Free resources =========
    Free Access to all skillshare courses for 1 month ► skl.sh/3niUZ5Y
    DevOps Resumes ► bit.ly/valaxydmr
    Tools to learn in DevOps ► • Which DevOps tools sho...
    ============ Connect with Us =========
    Facebook ► bit.ly/devopsgang
    Instagram ► bit.ly/valaxyinsta
    LinkedIn ► bit.ly/valaxyln
    Website ► www.valaxy.in/
    #DevOps #Valaxy #AWS
  • Věda a technologie

Komentáře • 59

  • @Mpmt_Vlogs
    @Mpmt_Vlogs Před 2 lety +1

    Yes this is very helpful and I have to set up the same thing in my task on Monday

  • @nikhilahiremath758
    @nikhilahiremath758 Před rokem

    thank you, you made the concept so easy

  • @mudasir2168
    @mudasir2168 Před rokem

    Excellent explanation!

  • @jayasimhabadimela2285
    @jayasimhabadimela2285 Před 2 lety +1

    Thank u for giving this valuable information sir

  • @PrasadD-fe1fr
    @PrasadD-fe1fr Před rokem

    Hi Shankar, thank you so much for the video and its very good.

  • @srinathg3051
    @srinathg3051 Před rokem

    Good one Shankar , thanks for the video and also can you please do a video on Jenkins master-slave configuration with docker and entire setup with code ?

  • @rajashakarp
    @rajashakarp Před rokem

    Thanks just fixed my issue with help of your video

  • @AKASHKUMAR-pv8ei
    @AKASHKUMAR-pv8ei Před rokem

    Thank you sir, your implementation and clarity helped me a lot

    • @techglow4302
      @techglow4302 Před 3 měsíci

      Hello Sir . . I have window server as agent and when I set it on master agent it gives me a command to generate jar file(agent)( as in ur case path to agent) but when I paste that command in window server it doesn’t generate agent jar file.
      Note: earlier my public ip address was set localhost:8080 and for that case it was generating agent
      But was not connecting then I came to know instead of localhost:8080 it should be ip. Address when I configured ip, now that command is not generating jar file

  • @ShravanKumar-og2wp
    @ShravanKumar-og2wp Před 5 měsíci

    amazing explanation.!

  • @ramroy5942
    @ramroy5942 Před 2 lety +1

    Your classes are so awesome....

  • @veereshkumar9255
    @veereshkumar9255 Před 2 lety +1

    Thank you sir it will be more helpful to me

  • @knownisdropunknownisocean.9282

    Very nice!

  • @sreenivasp6650
    @sreenivasp6650 Před rokem

    I understood it perfectly in english than i understood from your telugu video

  • @mahindrakarashish4643
    @mahindrakarashish4643 Před 3 měsíci

    Thank you for your clear explanation brother.

  • @manohare4195
    @manohare4195 Před 2 lety +2

    Hi AR, Always your efforts priceless. Thanks for the knowledge.

  • @430rao
    @430rao Před 10 měsíci +1

    Thanku so much bro

  • @sundarp178
    @sundarp178 Před 6 měsíci

    Thank u working

  • @prasanth696
    @prasanth696 Před 2 lety +1

    Thank you

  • @prerna4497
    @prerna4497 Před rokem

    Nice video

  • @RITIK-if9ge
    @RITIK-if9ge Před rokem

    thank you it helped me !!!

  • @anishbabus576
    @anishbabus576 Před 2 lety

    Thanks

  • @degasuresh
    @degasuresh Před 2 lety +1

    Hi, I have Jenkins master on linux and slave as windows machine. I'm facing sometime salve machine is going offline with error:- connection was broken:Java.nio.channels.ClosedChannelException. And i have same version of Java on both master and slave machine. Can you please suggest on to fix agent should always up and running.

  • @vinaykumarmatam3708
    @vinaykumarmatam3708 Před 2 lety

    If you show by SSH configuration via known host strategies and etc.....it will be helpful to the folks who have joined as fresher.......... As this is not using in real-time

    • @ValaxyTechnologies
      @ValaxyTechnologies  Před 2 lety +1

      Sure, will try to make it. However the method which i have used in the video also used in the real world

  • @MohdDanish-kv9sw
    @MohdDanish-kv9sw Před rokem

    we can only use this process if we are working with java based application ?

  • @tjsil3528
    @tjsil3528 Před 2 lety +1

    Is the 'Built-in node' considered the master node because you didn't create a master node? You didn't change the number of executors in the master (built-in node) to zero as recommended. please can you explain if we need to create a master node or just consider the built-in node as master and change executor to zero. Thank you

  • @swendaily
    @swendaily Před rokem

    "This agent is offline because Jenkins failed to launch the agent process on it. " this is happening every time when i started node in jenkins

  • @vtumathsbuddy7779
    @vtumathsbuddy7779 Před rokem

    Sir, I have selected "Keep this agent online as much as possible" but my slave node goes offline after 2 min I don't know why

  • @deepakrajput5
    @deepakrajput5 Před rokem

    How to do agent as background ...in my case agents geting offline

  • @something3348
    @something3348 Před 2 lety

    Hi,
    What is the command to uninstall java from amazon linux instance, please let me know

  • @vharathi28
    @vharathi28 Před rokem

    After configured the agent the IP address seems different how can I get same IP address

  • @bhaskarraopuppala9694
    @bhaskarraopuppala9694 Před 8 měsíci

    I used the same configuration for master and slave both are linux based syatems but i have some errors like sometimes it shows file invalid or corrupt agent.jar also sometimes no files or directory found any help pls

  • @yveschoupe4574
    @yveschoupe4574 Před 9 měsíci

    thank you so much for this video. how do i get in contact with you please?

  • @Ganesh.Vaka_9492
    @Ganesh.Vaka_9492 Před rokem

    How to set up master and slave in linux please tell me

  • @sureshj1216
    @sureshj1216 Před rokem

    Soperb

  • @diehardfans6277
    @diehardfans6277 Před rokem +1

    That ip address is not same. What to do. Please help. 🙏🏻

  • @bhagyashreesamal5036
    @bhagyashreesamal5036 Před rokem

    I'm getting this error after configuration of the node "This agent is offline because jenkins failed to launch the agent process on it" Please let me know what's the cause of this error

  • @srinivasakatta9385
    @srinivasakatta9385 Před 2 lety

    Hi Sir, Thank you for sharing the knowledge
    Can you please guide us from where we can download teh agent.jar file

  • @j.sherineaishwarrya6874

    Hi Sankar, I tried to configure a job and make it run at slave server but the job is not getting picked up. (note: I made the number of executors as zero in master and i enabled 'Restrict where this project can be run' at master node in my job). I am facing below issue : (pending-Waiting for next available executor on ‘builtin’).

    • @ValaxyTechnologies
      @ValaxyTechnologies  Před 2 lety

      Hi Aishwarrya,
      If you share me the configuration of your node setup then only I can understand which its not working.

    • @j.sherineaishwarrya6874
      @j.sherineaishwarrya6874 Před 2 lety

      @@ValaxyTechnologies Thanks for your quick response.
      Please find my slave node configuration set
      Name:slave
      Description:slave1
      Number of executors:2
      Remote root directory:/opt/jenkins
      Labels:slave1
      Usage:use this node as much as possible
      Launch method:Launch agent by connecting it to the controller
      Disable WorkDir:No
      Custom WorkDir path:/opt/jenkins
      Internal data directory:remoting
      Fail if workspace is missing?
      Use WebSocket:Yes
      Availability:Keep this agent online as much as possible
      My Master node configuration:
      Number of executors:0
      Labels:master
      Usage:Only build jobs with label expressions matching this node

    • @kasunherath2173
      @kasunherath2173 Před rokem

      @@j.sherineaishwarrya6874 as per the pending message , it seems the slave node is in use by some other job , maybe you can delete the slave node and create a new one from the beginning

  • @glamourbraiding6088
    @glamourbraiding6088 Před 2 lety

    How do I buy full class of DevOps on your website. Because I did check it out but it is in your currency but I want to buy it in US Dollars

  • @muralikrishnam4726
    @muralikrishnam4726 Před 2 lety

    I am unable add git excutable path in globaltool configuration in Jenkins
    "It always shows error there is no excutable git in the path"
    I tried lot of ways but always shows that error only plz solve this

  • @gahir123
    @gahir123 Před 2 lety

    Please help to configure CICD for any PHP laravel application

  • @adityakhot463
    @adityakhot463 Před rokem

    Why he's say java when it's Jenkins. Makes lot of confusion. He must add text comment when he says any wrong terminology.

  • @Tejasjourneyofficial
    @Tejasjourneyofficial Před 2 lety +4

    Waste, this is a old school concept

    • @Tejasjourneyofficial
      @Tejasjourneyofficial Před rokem

      @Orcs in the field check about on the fly docker slaves rather than long running and maintaining slaves