This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Steps to install Jenkins Agent using JNLP connection on Ubuntu 20.04 Focal Fossa | |
# | |
# * create an Agent node on the web GUI: https://wiki.jenkins.io/display/JENKINS/Step+by+step+guide+to+set+up+master+and+agent+machines+on+Windows | |
# * $ sudo apt-get install -y openjdk-14-jre-headless | |
# * $ sudo adduser jenkins | |
# * $ curl http://jenkins-master.internal/jnlpJars/agent.jar -o /home/jenkins/agent.jar | |
# * create systemd service: place this file in /lib/systemd/system/jenkins-agent.service | |
# * $ sudo systemctl enable myservice | |
# * $ sudo systemctl start jenkins-agent |