Rainer Weinhold edited a comment on Bug JENKINS-16273

You have to pass in an user to authenticate via "-jnlpCredentials jenkinsuser:secret":
My cmd line:
java -Xrs -jar "slave.jar" -classpath "patches\commons-codec-1.5.jar" -jnlpCredentials jenkinsuser:secret -jnlpUrl http://ci/computer/winnt-1/slave-agent.jnlp

or my jenkins-slve.xml :

<arguments>-Xrs -jar "%BASE%\slave.jar" -classpath "%BASE%\patches\commons-codec-1.5.jar" -jnlpCredentials jenkinsuser:secret -jnlpUrl http://ci.../slave-agent.jnlp</arguments>

The difference to 1.480.1 is that there is now an slave connect/disconnect right which must be given to the "jenkinsuser" (Beside overall read)

The slave installer has the bug that it does not write a correct .xml file with credentials, you have to add this manually. (For LTS the common-codec-1.5.jar had to be added to the classpath, because otherwiese the authentication is missing a base64 codec : JENKINS-9679)

-> this works on 1.480.2

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to