Skip to content

Instantly share code, notes, and snippets.

@stuudmuffin
Created January 20, 2018 21:58
Show Gist options
  • Save stuudmuffin/daedc5495dfc8f229f801ccf65badde9 to your computer and use it in GitHub Desktop.
Save stuudmuffin/daedc5495dfc8f229f801ccf65badde9 to your computer and use it in GitHub Desktop.
Simple pull of fresh BuildTools followed by building the new server jar
#!/bin/bash
# you'll want to run this script in a folder by itself. The folder will be populared with all the stuff required to build the jar
# REQUIREMENTS
# curl
# java
version=$1;
curl "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" -o BuildTools.jar
java -jar BuildTools.jar --rev latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment