|
||||||||
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 |
[JIRA] (JENKINS-16273) Slaves forbidden to request JNLP anonymously but no clear way to pass API token
rainer.weinh...@seitenbau.com (JIRA) Tue, 15 Jan 2013 03:48:02 -0800
- [JIRA] (JENKINS-16273) Slaves ... jgl...@cloudbees.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... tg...@verizon.net (JIRA)
- [JIRA] (JENKINS-16273) Sl... tangthe...@gmail.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... oldel...@java.net (JIRA)
- [JIRA] (JENKINS-16273) Sl... jesper.klit.jen...@intelligrated.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... rainer.weinh...@seitenbau.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... rainer.weinh...@seitenbau.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... alexlomba...@java.net (JIRA)
- [JIRA] (JENKINS-16273) Sl... alexlomba...@java.net (JIRA)
- [JIRA] (JENKINS-16273) Sl... alexlomba...@java.net (JIRA)
- [JIRA] (JENKINS-16273) Sl... tangthe...@gmail.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... alexlomba...@java.net (JIRA)
- [JIRA] (JENKINS-16273) Sl... jesper.klit.jen...@intelligrated.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... jesper.klit.jen...@intelligrated.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... jgl...@cloudbees.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... jgl...@cloudbees.com (JIRA)
- [JIRA] (JENKINS-16273) Sl... scm_issue_l...@java.net (JIRA)
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