Good. Couple of questions: this Jenkins Agent run as a Windows service or normal application? How can we automate it if if normal application?
@RanjitSwain Жыл бұрын
Hi, In this video i have shown as normal application running it in the command prompt. But, you can make this agent to run automatically by adding it in the windows service.
@dmitrysbor Жыл бұрын
@@RanjitSwainthankhs. I need run Jenkins as normal app, otherwise Windows blocks start my UI application under test. But in such case it could be restarted in case of server connection problems. I put Jenkings agent to Autorun, but not sure it rather resilent solution.
@elyahueaton73111 ай бұрын
I couldn't find how to add it as a windows service@@RanjitSwain
@arvindbalaji65045 ай бұрын
Hi Ranjit. I tried the same but the agent.jar file is not downloading. And iam getting the error jnable to find agent.jar file in cmd
@RanjitSwain5 ай бұрын
Hi @arvindbalaji6504, make sure you are using correct Jenkins ip address. Can you verify the ip address you are using to download is same as the Jenkins?
@arvindbalaji65045 ай бұрын
Hi @@RanjitSwain , Thanks a lot for your advice and that has solved that agent issue. But now getting an error like could not locate server among …jenkins url…. And ptovided port 44301 is not reachable on host. Can you please help me on this
@Manu_mandyal2 ай бұрын
Sir i am still stuck off every time after admin file created
@ishanibhatia63398 ай бұрын
Thankyou so much for this video🙌🙌
@RanjitSwain8 ай бұрын
You are welcome!
@raushankumar82585 ай бұрын
getting error:unable to find agent.jar file in cmd
@RanjitSwain5 ай бұрын
Hi @raushankumar8258, make sure you are using correct Jenkins ip address. Can you verify the ip address you are using to download is same as the Jenkins?
@gergelysandorjakab2549 Жыл бұрын
Helo Ranjit! Thanks for the video it's really helpful. Unfortunately I have an issue. If I close the cmd window on the agent side after it's connected to the server, it immediately goes to offline. Is this an expected behavior? Does this happen, because it's not running as a service?
@RanjitSwain Жыл бұрын
Hi, yes the agent will be terminated as soon as we close the cmd window where it was executed until unless we run it as a service. To make it to run permanently you must run this as a service.
@guddytech145410 ай бұрын
How can i run it as a service please. I'll love to know please @@RanjitSwain
@ravillavenkatasiva24914 ай бұрын
Create new oracle account yes or no
@RanjitSwain4 ай бұрын
Yes, if you are installing Java for yourself. If you are doing the setup for company then you don’t need to.. your organisation would provide
@ShaharShamli8 ай бұрын
Hi, but It not permanent. I need to run it manually every time the server is restarting
@RanjitSwain8 ай бұрын
Hi, you need to setup this in windows service so that it can run even after reboot. Watch this video 👇 Running Jenkins Agent as a service in Windows machine kzbin.info/www/bejne/nn3GpZ-KoJt_ptU
@שחרשאמלי8 ай бұрын
Hi, I created a task scheduler that run the java command on startup. Done :)