Jenkins Tutorial For Beginners 17 - Launch agent via Java Web Start (Windows Slave)

preview_player
Показать описание
In this video I am going to show you How to create a Windows Slave and Launch agent via Java Web Start. To enable 'Launch agent via Java Web Start' option on jenkins You have to enable the TCP port of JNLP agents to enable this option for slaves. Enabling Java Web Start Option to configure Slave Node in Jenkins is easy.

Manage Jenkins - Configure Global Security - TCP port for JNLP agents - Random

We can also install Jenkins Windows slave agent as a service.
-------------------Online Courses to learn----------------------------
----------------------Follow---------------------------------------------
-------------------------Stuff I use to make videos -------------------
Stuff I use to make videos
------------------Facebook Links ----------------------------------------
Рекомендации по теме
Комментарии
Автор

This instructor is awesome. Clear expression of the content .Please keep doing more videos on all Devops concepts and tools. Appreciate your explanation.

manasa
Автор

Thank you, beautiful and concise. I really like your narrating tone.

metushelach
Автор

really appreciate.. clean and towards the goal video. Thanks you sir jee

mukundlife
Автор

The best explanation about Jenkins in youtube. Thanks

alexanderzamalin
Автор

Excellent Job... I will also help people by making such videos once I am an expert :)

sikandarboy
Автор

thanks for your video. you missed to blur something at 02.39 . Incase you havent noted just let you know. Hats off to your work

chandramohanvr
Автор

Excellent video. Clear, and concise. Well done!

Simmerio
Автор

Hi.. Thanks for explanation.. But one issue, if I close the CMD on agent server, the agent get disconnected.
So after server re-boot we needs to connect again, or if any one close the CMD prompt we are facing issue.
How we can run the agent permanently in windows?

vengatesharun
Автор

But which connection method is better (e.g. performance, security, ... etc.), Is it via SSH or Java
Web Start ?

ahmedhussein
Автор

master and slave both are on the same machine ? you haven't provided host name while creating node ? what if my slave node is in another machine ?

coolajayrocks
Автор

How you create the windows OS, it is a virtual machine of your HD ?

edu
Автор

Hi, Thanks for the Video, Can you please make a video on docker-slave-plugin. How to set up "Add Cloud" to manage jenkins --> "configure system", how to prepare and create a container for the build, and terminate automatically. Thanks in advance

Siva-urmd
Автор

Hi @ProgrammingKnowledge

I have a requirement where I Have to trigger Batch Script present on another window manchine.

Is it feasible in Jenkins to make a connection to the windows machine and trigger the batch script.

Please let me know if I need to install any plugin for that.

ddsa
Автор

it would be greate if first explain why this method exist when we alreay have the other method you showed in prev video

okey
Автор

How can we keep the slave agent node always connected in this? Is there any way.

vanshikasharma
Автор

Hi, I cant find JNLP option under Agent. I can see only tcp port for inbound agents. Can you help me

RDas_
Автор

Bhai all programming language learn in one video

technicalwithhappy
Автор

Hi, Thanks for the video. Configuration of a windows node in Jenkins is well explained and demonstrated in this video.
However, I need your help in fixing the issues I am facing while launching my windows agent. My environment setup is as follows:
1. Jenkins Master - AWS Linux EC2 instance - Jenkins Bitnami AMI
2. Windows Agent - AWS Windows server 2019 instance
3. Windows Agent - my local machine

I have configured the Windows agent as demonstrated in the video but getting following error at the last step when executing the Java command.




Complete Logs:

Mar 27, 2019 10:23:07 AM initializeWorkDir
INFO: Using C:\Jenkins\remoting as a remoting work directory
Both error and output logs will be printed to C:\Jenkins\remoting
Mar 27, 2019 10:23:10 AM hudson.remoting.jnlp.Main createEngine
INFO: Setting up agent: Windows_QTP_Agent
Mar 27, 2019 10:23:10 AM <init>
INFO: Jenkins agent is running in headless mode.
Mar 27, 2019 10:23:10 AM hudson.remoting.Engine startEngine
INFO: Using Remoting version: 3.27
Mar 27, 2019 10:23:10 AM initializeWorkDir
INFO: Using C:\Jenkins\remoting as a remoting work directory
Mar 27, 2019 10:23:11 AM status
Mar 27, 2019 10:23:11 AM resolve
INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
Mar 27, 2019 10:23:16 AM isPortVisible
WARNING: connect timed out
Mar 27, 2019 10:23:16 AM error
at
at
at

abhinavbhargava
Автор

In Prod, random port opening is not preferred

SanthoshkumarNagulanchi
join shbcf.ru