Ignores proxy settings when downloading ant

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: core
    • Environment:
      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.

            Assignee:
            Unassigned
            Reporter:
            Steve Nicolai
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: