Skip to content

Instantly share code, notes, and snippets.

@games647
Last active April 9, 2018 21:30
Show Gist options
  • Save games647/8505a85f7075f54f418a885ba84c1784 to your computer and use it in GitHub Desktop.
Save games647/8505a85f7075f54f418a885ba84c1784 to your computer and use it in GitHub Desktop.
Auto updates spigot and BungeeCord based on the latest version from Jenkins
#!/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
@MCTyler
Copy link

MCTyler commented Apr 9, 2018

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment