• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Single server Jenkins install on a network that uses a proxy to get to the internet. DNS does not resolve any external site. Only the proxy can do that.

      The information in proxy.xml is correct, and plugin update notification works.

      Manage Jenkins > Configure > Add Ant and configure a new ant.

      Add a job that is configured to use the ant above.

      Trigger a build on that job.

      Jenkins will attempt to download ant from archive.apache.org. It will fail because DNS cannot resolve archive.apache.org.

      Adding -Dhttp.proxyHost=<> -DhttpProxyPort=<> -Dhttp.nonProxyHost=<my domain> to JENKINS_JAVA_OPTIONS in /etc/sysconfig/jenkins (I used the RPM installer) allows ant to download. This is the workaround I have in place right now.

          [JENKINS-9351] Ignores proxy settings when downloading ant

          Steve Nicolai created issue -

          Duplicates JENKINS-9340.

          Kohsuke Kawaguchi added a comment - Duplicates JENKINS-9340 .
          Kohsuke Kawaguchi made changes -
          Link New: This issue duplicates JENKINS-9340 [ JENKINS-9340 ]
          Kohsuke Kawaguchi made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139512 ] New: JNJira + In-Review [ 188543 ]

            Unassigned Unassigned
            steven Steve Nicolai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: