Enable Java web start option
The option to “Launch slave agents via Java Web Start” is missing from new node configuration, how can I add it to the options menu?
Sometimes, it will be visible automatically and sometimes we need to enable it with below setting.
Enable the TCP port of JNLP agents to enable this option for slaves.
Manage Jenkins > Configure Global Security > TCP port for JNLP agents
Set it to either Fixed (for this option also set the port number) or Random.
Install Git/Jenkins on Ubuntu
Git:
apt-get install git-core
Ref:Reference
(or)
sudo apt-get update
sudo apt-get install git
Ref:Reference
Jenkins:
wget -q -O – https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add –
echo deb https://pkg.jenkins.io/debian-stable binary/ | sudo tee /etc/apt/sources.list.d/jenkins.list
sudo apt upgrade -y #if you get any release not found error for jenkins
sudo apt-get update
sudo apt-get install jenkins
Start jenkins:
sudo systemctl start jenkins
sudo systemctl status jenkins
Add firewall exception:
sudo ufw allow 8080
sudo ufw status
Setup/configure jenkins:
http://ip_address_or_domain_name:8080
Export and Import Jenkins Plugins and Jobs
The below link looks simpler and useful for exporting the jenkins jobs and plugins from one server to another.
Reference:
Below video I have created using these links.
My Repository link contains some sample exported plugins text file and the windows tool.