Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18891

Monitor External Jobs: username containing @ (at sign) not supported

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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:
      export JENKINS_HOME=https://foo@bar.com:secret@somebox.bar.com
      java jar /somepath/jenkins-core*.jar "somejob" pwd

      I get this exception:
      java.net.MalformedURLException: For input string: "secret@somebox.bar.com"
      at java.net.URL.<init>(URL.java:601)
      at java.net.URL.<init>(URL.java:464)
      at java.net.URL.<init>(URL.java:413)
      at hudson.Main.remotePost(Main.java:93)
      at hudson.Main.run(Main.java:74)
      at hudson.Main.main(Main.java:56)

      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.

        Attachments

          Activity

          sroth Steve Roth created issue -
          jglick Jesse Glick made changes -
          Field Original Value New Value
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 150338 ] JNJira + In-Review [ 193476 ]

            People

            Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            sroth Steve Roth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: