|
1 |
| -From 5d9c26d400c99e1cb4ba454362787d4627a323bf Mon Sep 17 00:00:00 2001 |
| 1 | +From 2cb8c8b774965b443c4c82431835002162c27849 Mon Sep 17 00:00:00 2001 |
2 | 2 | From: Justsnoopy30 <everettallen30@gmail.com>
|
3 | 3 | Date: Sat, 15 Feb 2020 22:59:48 -0600
|
4 | 4 | Subject: [PATCH] Rename-waterfall-references-to-hyperfall
|
@@ -113,6 +113,19 @@ index 65121ba2..2d75bf92 100644
|
113 | 113 | boolean restricted = get( "restricted", false, val );
|
114 | 114 | SocketAddress address = Util.getAddr( addr );
|
115 | 115 | ServerInfo info = ProxyServer.getInstance().constructServerInfo( name, address, motd, restricted );
|
| 116 | +diff --git a/proxy/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java b/proxy/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java |
| 117 | +index 9b20d0df..af6fdc5f 100644 |
| 118 | +--- a/proxy/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java |
| 119 | ++++ b/proxy/src/main/java/net/md_5/bungee/module/JenkinsModuleSource.java |
| 120 | +@@ -18,7 +18,7 @@ public class JenkinsModuleSource implements ModuleSource |
| 121 | + System.out.println( "Attempting to Jenkins download module " + module.getName() + " v" + version.getBuild() ); |
| 122 | + try |
| 123 | + { |
| 124 | +- URL website = new URL( "https://papermc.io/ci/job/Waterfall/" + version.getBuild() + "/artifact/Waterfall-Proxy/module/" + module.getName().replace( '_', '-' ) + "/target/" + module.getName() + ".jar" ); |
| 125 | ++ URL website = new URL( "https://papermc.io/ci/job/Waterfall/lastSuccessfulBuild/artifact/Waterfall-Proxy/module/" + module.getName().replace( '_', '-' ) + "/target/" + module.getName() + ".jar" ); |
| 126 | + URLConnection con = website.openConnection(); |
| 127 | + // 15 second timeout at various stages |
| 128 | + con.setConnectTimeout( 15000 ); |
116 | 129 | --
|
117 | 130 | 2.17.1
|
118 | 131 |
|
0 commit comments