ant builds fail behind a proxy

Bug #1682534 reported by Colin Watson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Colin Watson

Bug Description

Builds that use the ant plugin fail when network access is required to go via a proxy, as is the case in Launchpad.

Launchpad builds currently use an authenticated proxy, which is (as far as I can tell) prohibitively difficult to support in the ant plugin; Java makes this extremely difficult. However, I have work in flight to convert this to an unauthenticated proxy from snapcraft's point of view (https://code.launchpad.net/~cjwatson/launchpad-buildd/local-snap-proxy/+merge/322545), at which point it's not too difficult to handle here.

Revision history for this message
Colin Watson (cjwatson) wrote :
Changed in snapcraft:
assignee: nobody → Colin Watson (cjwatson)
status: New → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
importance: Undecided → High
milestone: none → 2.29
Changed in snapcraft:
status: Fix Committed → Fix Released
Revision history for this message
Adam Collard (adam-collard) wrote :

https://github.com/snapcore/snapcraft/pull/1490 fixes this in a different way - by extending the initial support added to the ant plugin (and indeed gradle plugin) in comment 1 to also honour authenticated proxies

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.