Found when launching a jnlp agent from command line:
"java -jar slave.jar -jnlpUrl ..."
The name of this jar should match agreed naming guidelines.
"slave.jar" should be "agent.jar"
2.0: Jenkins terminology sweep
Review and document all remaining uses of the term "slave" in core
Change Jnlp url from "slave-agent.jnlp" to "agent.jnlp"
Fixed in 2.77.
Someone reported this issue as a problem on the changelog. Please indicate in a comment what the encountered problem is, nor file a separate issue for that, and link it here and/or from the changelog. Thanks!
Code changed in jenkins
User: Oleg Nenashev
Merge pull request #3004 from ndeloof/agent
JENKINS-35451 - prefer ‘agent.jar’ over ‘slave.jar’
see https://github.com/jenkinsci/jenkins/pull/3004 as a minimal backward compatible fix. slave.jar still supported to ensure no regression, but document use of agent.jar
Surely we can do a hard redirect when someone is asking for /slave.jar?