Update jenkins URL
parent
a7e204fd3b
commit
4059979e21
|
@ -74,7 +74,7 @@ public class DownloadTask extends DefaultTask {
|
||||||
|
|
||||||
if (!Constants.MAPPINGS_ZIP.get(extension).exists() && extension.hasPomf()) {
|
if (!Constants.MAPPINGS_ZIP.get(extension).exists() && extension.hasPomf()) {
|
||||||
this.getLogger().lifecycle(":downloading mappings");
|
this.getLogger().lifecycle(":downloading mappings");
|
||||||
FileUtils.copyURLToFile(new URL("http://modmuss50.me:8080/job/pomf/" + extension.version + "/" + extension.pomfVersion + "/artifact/build/libs/pomf-enigma-" + extension.version + "." + extension.pomfVersion + ".zip"), Constants.MAPPINGS_ZIP.get(extension));
|
FileUtils.copyURLToFile(new URL("http://jenkins.modmuss50.me/job/FabricMC/job/pomf/job/" + extension.version + "/" + extension.pomfVersion + "/artifact/build/libs/pomf-enigma-" + extension.version + "." + extension.pomfVersion + ".zip"), Constants.MAPPINGS_ZIP.get(extension));
|
||||||
}
|
}
|
||||||
if(!extension.hasPomf()){
|
if(!extension.hasPomf()){
|
||||||
if(Constants.MAPPINGS_DIR_LOCAL.get(extension).exists()){
|
if(Constants.MAPPINGS_DIR_LOCAL.get(extension).exists()){
|
||||||
|
@ -98,7 +98,7 @@ public class DownloadTask extends DefaultTask {
|
||||||
if (!Constants.MAPPINGS_TINY.get(extension).exists() && extension.hasPomf()) {
|
if (!Constants.MAPPINGS_TINY.get(extension).exists() && extension.hasPomf()) {
|
||||||
if (!Constants.MAPPINGS_TINY_GZ.get(extension).exists() && !extension.localMappings) {
|
if (!Constants.MAPPINGS_TINY_GZ.get(extension).exists() && !extension.localMappings) {
|
||||||
getLogger().lifecycle(":downloading tiny mappings");
|
getLogger().lifecycle(":downloading tiny mappings");
|
||||||
FileUtils.copyURLToFile(new URL("http://modmuss50.me:8080/job/pomf/" + extension.version + "/" + extension.pomfVersion + "/artifact/build/libs/pomf-tiny-" + extension.version + "." + extension.pomfVersion + ".gz"), Constants.MAPPINGS_TINY_GZ.get(extension));
|
FileUtils.copyURLToFile(new URL("http://jenkins.modmuss50.me/job/FabricMC/job/pomf/job/" + extension.version + "/" + extension.pomfVersion + "/artifact/build/libs/pomf-tiny-" + extension.version + "." + extension.pomfVersion + ".gz"), Constants.MAPPINGS_TINY_GZ.get(extension));
|
||||||
}
|
}
|
||||||
GZIPInputStream gzipInputStream = new GZIPInputStream(new FileInputStream(Constants.MAPPINGS_TINY_GZ.get(extension)));
|
GZIPInputStream gzipInputStream = new GZIPInputStream(new FileInputStream(Constants.MAPPINGS_TINY_GZ.get(extension)));
|
||||||
FileOutputStream fileOutputStream = new FileOutputStream(Constants.MAPPINGS_TINY.get(extension));
|
FileOutputStream fileOutputStream = new FileOutputStream(Constants.MAPPINGS_TINY.get(extension));
|
||||||
|
|
Loading…
Reference in New Issue