Thank you for this valuable effort to make us understand this concept of master slave in jenkins. I watched the video and later I practiced it and I was successful in this.
Hi @subbam348, that is the agent machine which you want to setup as agent in Jenkins. The curl command is used to download the agent.jar file in the agent machine.
Hi, curl command will download the agent.jar file. make sure before executing the curl command if your IP address has been changed then the same change in the System config page.
Hi Smruti, based on your requirements you need to setup agents in Jenkins. If your build can be done in the Jenkins server itself then no need of agent.
Awesome explanation. Your knowledge is amazing. Thank you.
Glad it was helpful!
Thank you for this valuable effort to make us understand this concept of master slave in jenkins. I watched the video and later I practiced it and I was successful in this.
Thanks for your valuable comment. Glad it helped you!
If your agent is not connecting to the master, then open Inbound 50000 port on the master instance (Security group)
Yes
Very helpful Thank you brother...
Thanks for your comment!
Glad it helped you.
wow you nail it bro.bahut badhia
Thank you!
Hello, the terminal you are executing the curl script, which terminal is that and how do I connect to that terminal, thanks.
Hi @subbam348, that is the agent machine which you want to setup as agent in Jenkins.
The curl command is used to download the agent.jar file in the agent machine.
how to give custom workspace in pipeline script if we have 2 stages or more than that and how to stash report in stages
thanks for sharing, it's very helpful!
Thank you!
Glad, you liked it.
I've Jenkins set up in my local machine (locahost:8080). And I want my Ec2 machine to be made as Agent. Will this method work?
Hi,
yes this will work.
Hy Ranjit , When i am trying to perform the curl operation in the ec2 linux machine so nothing is getting cloned
Hi, curl command will download the agent.jar file. make sure before executing the curl command if your IP address has been changed then the same change in the System config page.
I've Jenkins set up in my local machine (locahost:8080).is it required to set up the any agent or node ?
Hi Smruti, based on your requirements you need to setup agents in Jenkins.
If your build can be done in the Jenkins server itself then no need of agent.
Hello Ranjit,
I want to call my ansible yml file, which is there in github from terraform file , could you please guide me on it.
Hi, yes by using terraform provisioner we can execute Ansible from Terraform. I will creat a video shortly.
I tried this same , after closing the command prompt agent is stopping
Hi, you can run those commands in backend to avoid termination
I wanted to execute few helm commands from my script. But that jenkins node does not contain helm. Can you please help??
Hi @sravaniregalla3125, first make sure the helm is installed in the node machine where yu want to execute the script.
Nice ranjit sir
Thank you 🙏
after connecting my slave agent, my jenkins is not working (not opening) please please help
It shouldn't be the case. Could you restart your Jenkins once in backend.
its http , what about https connects ??
A video on https will be made shortly!
@@RanjitSwain tq