Skip to content

Instantly share code, notes, and snippets.

@TuxCoding
Last active April 9, 2018 21:30
Show Gist options
  • Select an option

  • Save TuxCoding/8505a85f7075f54f418a885ba84c1784 to your computer and use it in GitHub Desktop.

Select an option

Save TuxCoding/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

MCTyler commented Apr 9, 2018

Copy link
Copy Markdown

Nice!

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