mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
fixed a test failure. We moved the update centers to hudson-ci.org.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22959 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
d81e473d5d
commit
5a157a2dcb
1 file changed
+2
-2
@@ -81,7 +81,7 @@ public class JavaNetReverseProxy extends HttpServlet {
|
||||
|
||||
File cache = new File(cacheFolder, d);
|
||||
if(!cache.exists()) {
|
||||
URL url = new URL("https://hudson.dev.java.net/" + path);
|
||||
URL url = new URL("http://hudson-ci.org/" + path);
|
||||
FileUtils.copyURLToFile(url,cache);
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ public class JavaNetReverseProxy extends HttpServlet {
|
||||
public static synchronized JavaNetReverseProxy getInstance() throws Exception {
|
||||
if(INSTANCE==null)
|
||||
// TODO: think of a better location --- ideally inside the target/ dir so that clean would wipe them out
|
||||
INSTANCE = new JavaNetReverseProxy(new File(new File(System.getProperty("java.io.tmpdir")),"java.net-cache"));
|
||||
INSTANCE = new JavaNetReverseProxy(new File(new File(System.getProperty("java.io.tmpdir")),"hudson-ci.org-cache"));
|
||||
return INSTANCE;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user