Jenkins modules are now https.
This commit is contained in:
parent
01f44483df
commit
6908e700e6
@ -18,7 +18,7 @@ public class JenkinsModuleSource implements ModuleSource
|
|||||||
System.out.println( "Attempting to Jenkins download module " + module.getName() + " v" + version.getBuild() );
|
System.out.println( "Attempting to Jenkins download module " + module.getName() + " v" + version.getBuild() );
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
URL website = new URL( "http://ci.md-5.net/job/BungeeCord/" + version.getBuild() + "/artifact/module/" + module.getName().replace( '_', '-' ) + "/target/" + module.getName() + ".jar" );
|
URL website = new URL( "https://ci.md-5.net/job/BungeeCord/" + version.getBuild() + "/artifact/module/" + module.getName().replace( '_', '-' ) + "/target/" + module.getName() + ".jar" );
|
||||||
URLConnection con = website.openConnection();
|
URLConnection con = website.openConnection();
|
||||||
// 15 second timeout at various stages
|
// 15 second timeout at various stages
|
||||||
con.setConnectTimeout( 15000 );
|
con.setConnectTimeout( 15000 );
|
||||||
|
Loading…
Reference in New Issue
Block a user