Commit 5f325a6f authored by intrigeri's avatar intrigeri
Browse files

Jenkins nodes: enable jnlp authentication

parent 3cf5901d
......@@ -9,7 +9,7 @@ ExecStartPre=/usr/local/share/jenkins-enable-node \
--api-user <%= @api_user %> \
--api-token-file /etc/jenkins/jenkins_apikey \
--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 -jnlpCredentials <%= @api_user %>:<%= @api_token %>
User=jenkins
LimitNOFILE=8192
Restart=always
......
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