sample systemd jenkins agent

sudo nano /etc/systemd/system/jenkins-agent.service

Description=Jenkins Agent

ExecStart=/usr/bin/java -jar /home/jenkins-agent/agent.jar -jnlpUrl JENKINS_URL/computer/AGENT_NAME/slave-agent.jnlp -secret SECRET


sudo systemctl enable jenkins-agent
sudo systemctl start jenkins-agent


Author: susiloharjo

Khoirunnas anfa'ahum linnas A Father, Husband and love to learn person Love my Family, Electronics, Photography, Robot, Dreaming, Programming

Ditunggu komennya ...

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: