Last active
April 9, 2018 21:30
-
-
Save games647/8505a85f7075f54f418a885ba84c1784 to your computer and use it in GitHub Desktop.
Auto updates spigot and BungeeCord based on the latest version from Jenkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd /home/minecraft | |
mkdir tempdl | |
cd tempdl | |
wget https://ci.destroystokyo.com/job/PaperSpigot/lastSuccessfulBuild/artifact/paperclip.jar #Download the latest version of Spigot | |
wget https://ci.aquifermc.org/job/Waterfall/lastSuccessfulBuild/artifact/Waterfall-Proxy/bootstrap/target/Waterfall.jar #Download the latest version of BungeeCord | |
#Copy the .jars to the server folders | |
cp paperclip.jar /home/minecraft/paperclip.jar | |
cp Waterfall.jar /home/minecraft/bungee/Waterfall.jar | |
#Remove the .jars we just downloaded | |
rm -rf /home/minecraft/tempdl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice!