Merge remote-tracking branch 'origin/master'

This commit is contained in:
坏黑 2019-02-05 23:19:18 +08:00
commit 771762c459

View File

@ -11,7 +11,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
public class TDependency { public class TDependency {
// 阿里 http://maven.aliyun.com/nexus/content/groups/public // 阿里 http://maven.aliyun.com/nexus/content/groups/public
public static final String MAVEN_REPO = "http://repo.maven.apache.org/maven2"; // Maven Central
public static final String MAVEN_REPO = "https://maven.aliyun.com/repository/central";
/** /**
* 请求一个插件作为依赖这个插件将会在所有已经添加的 Jenkins 仓库Maven 仓库寻找 * 请求一个插件作为依赖这个插件将会在所有已经添加的 Jenkins 仓库Maven 仓库寻找
@ -85,4 +86,4 @@ public class TDependency {
private static int getDownloadPoolSize() { private static int getDownloadPoolSize() {
return Main.getInst().getConfig().getInt("DOWNLOAD-POOL-SIZE", 4); return Main.getInst().getConfig().getInt("DOWNLOAD-POOL-SIZE", 4);
} }
} }