-
Bug
-
Resolution: Duplicate
-
Major
-
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.
- duplicates
-
JENKINS-9340 Slaves behind proxy can't install ant
- Resolved