It doesn't work that way either
This commit is contained in:
parent
d6c3ec7c7e
commit
c2d13a5fc8
1 changed files with 5 additions and 4 deletions
|
@ -1,10 +1,11 @@
|
|||
cache:
|
||||
directories:
|
||||
- $HOME/.m2/repository/org/bukkit/craftbukkit
|
||||
before_install: # Wget BuildTools and run if cached folder not found
|
||||
- if [ -d "$HOME/.m2/repository/org/bukkit/craftbukkit" ]; then exit 0; fi
|
||||
- wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
|
||||
- java -jar BuildTools.jar
|
||||
before_install: | # Wget BuildTools and run if cached folder not found
|
||||
if [ ! -d "$HOME/.m2/repository/org/bukkit/craftbukkit/1.12-R0.1-SNAPSHOT" ]; then
|
||||
wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
|
||||
java -jar BuildTools.jar --rev 1.12
|
||||
fi
|
||||
|
||||
language: java
|
||||
jdk:
|
||||
|
|
Loading…
Reference in a new issue