Updating the URL.

This commit is contained in:
Kohsuke Kawaguchi committed 2011-01-30 23:44:52 -08:00
1 parent ec67f19660
commit 3a1447ea9a
58 files changed
+76 -76

No files matched your search

@@ -154,7 +154,7 @@ import java.util.concurrent.CountDownLatch;
/**
* Base class for all Hudson test cases.
*
* @see <a href="http://wiki.hudson-ci.org/display/HUDSON/Unit+Test">Wiki article about unit testing in Hudson</a>
* @see <a href="http://wiki.jenkins-ci.org/display/JENKINS/Unit+Test">Wiki article about unit testing in Hudson</a>
* @author Kohsuke Kawaguchi
*/
public abstract class HudsonTestCase extends TestCase implements RootAction {
@@ -703,7 +703,7 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
* Loads a configuration page and submits it without any modifications, to
* perform a round-trip configuration test.
* <p>
* See http://wiki.hudson-ci.org/display/HUDSON/Unit+Test#UnitTest-Configurationroundtriptesting
* See http://wiki.jenkins-ci.org/display/JENKINS/Unit+Test#UnitTest-Configurationroundtriptesting
*/
protected <P extends Job> P configRoundtrip(P job) throws Exception {
submit(createWebClient().getPage(job,"configure").getFormByName("config"));
@@ -80,7 +80,7 @@ public class JavaNetReverseProxy extends HttpServlet {
File cache = new File(cacheFolder, d);
if(!cache.exists()) {
URL url = new URL("http://hudson-ci.org/" + path);
URL url = new URL("http://jenkins-ci.org/" + path);
FileUtils.copyURLToFile(url,cache);
}
@@ -104,7 +104,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")),"hudson-ci.org-cache2"));
INSTANCE = new JavaNetReverseProxy(new File(new File(System.getProperty("java.io.tmpdir")),"jenkins-ci.org-cache2"));
return INSTANCE;
}
}