Well, it was a stupid thing the URL that I pass to the Docker container is 
the JNLP agent URL (
https://jenkins:9443/computer/jnlp-agent/slave-agent.jnlp ), it should be 
the Jenkins URL (https://jenkins:9443 
<https://jenkins:9443/computer/jnlp-agent/slave-agent.jnlp>), so that's my 
error.

This command works as expected :palmface: 

docker run --name jnlp-agent -it --rm --network net jenkins/jnlp-slave 
-disableHttpsCertValidation -credentials jenkins:"SuP3rP4ssw0rd" -url 
https://jenkins:9443 
<https://jenkins:9443/computer/jnlp-agent/slave-agent.jnlp> 
224a6accfb5b9728e3db3dfc43ae8d2d986b24c09b2d8701497ca13c474d3dde jnlp-agent

BTW the error message is completely unrelated to the fail that was what 
confuses me. 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/88f0e8d3-97c6-42d6-8a53-850b73bc2f05%40googlegroups.com.

Reply via email to