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

Can't monitor external jobs if hudson requires authentication.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      When invoking hudson.Main with the name of a an external job and the path to the
      script or program to run as arguments 1 and 2, a "Authentication required" error
      message is given if hudson requires authentication. This is true even if the
      HUDSON_HOME environment variable has the username and password in it.

      A workaround is to not use hudson.Main, but another program, such as "curl" to
      send the data as a POST and to provide the authentication credentials...

            mindless Alan Harder
            victorf1973 victorf1973
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: