Commit 8f58ff06 authored by intrigeri's avatar intrigeri
Browse files

XXX: disable Jenkins node enabling on jenkins-slave.service startup

This yields a 403 with #16955 on my local Jenkins setup.
parent 19702cb9
...@@ -4,9 +4,10 @@ Description=Jenkins slave node ...@@ -4,9 +4,10 @@ Description=Jenkins slave node
[Service] [Service]
Type=simple Type=simple
ExecStartPre=/usr/local/share/jenkins-slave-download <%= @master_url %> ExecStartPre=/usr/local/share/jenkins-slave-download <%= @master_url %>
ExecStartPre=/usr/local/share/jenkins-enable-node \ # XXX: yields 403 once #16955
--orchestrator-url <%= @master_url %> \ # ExecStartPre=/usr/local/share/jenkins-enable-node \
--node-name <%= @domain == "lizard" ? @hostname : @fqdn %> # --orchestrator-url <%= @master_url %> \
# --node-name <%= @domain == "lizard" ? @hostname : @fqdn %>
ExecStart=/usr/bin/java -jar /run/jenkins/slave.jar -jnlpUrl <%= @master_url %>/computer/<%= @node_name %>/slave-agent.jnlp ExecStart=/usr/bin/java -jar /run/jenkins/slave.jar -jnlpUrl <%= @master_url %>/computer/<%= @node_name %>/slave-agent.jnlp
User=jenkins User=jenkins
LimitNOFILE=8192 LimitNOFILE=8192
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment