Status: Resolved (View Workflow)
Resolution: Not A Defect
From what I can tell (using Jenkins 1.518), the 'monitor external jobs' feature does not support usernames containing the @ (at sign) character.
This is a big problem for us, since we use LDAP auth, and all our usernames contain the @ sign.
When I use this sequence:
jar /somepath/jenkins-core*.jar "somejob" pwd
I get this exception:
java.net.MalformedURLException: For input string: "firstname.lastname@example.org"
If there was a way to support multiple auth providers, then this would not be a big deal, since we could store our 'automation users' (the users we would use for monitoring external jobs) in Jenkins and use LDAP for the rest of the users. However, this does not appear to be an option.
https://email@example.com:firstname.lastname@example.org/ is not a well-formed URL. I think you meant to use https://foo%40bar.com:email@example.com/ instead.
Thanks Jesse. We ended up going a different direction (changing our auth approach, so @xxxx is no longer needed), and this is no longer an issue for us.
I see a comment in https://wiki.jenkins-ci.org/display/JENKINS/Monitoring+external+jobs from zhewei shou on 4/24/2012 indicating the same issue:
Apr 24, 2012
zhewei shou says:
when i export JENKINS_HOME(which is not localhost path), i need pass username & password. but what can i do if the password exists character like '@'?