Skip to content

support for local file:// urls in jargroups#314

Open
bentterp wants to merge 1 commit intomsmhq:masterfrom
bentterp:bentterp-fileurl-patch-1
Open

support for local file:// urls in jargroups#314
bentterp wants to merge 1 commit intomsmhq:masterfrom
bentterp:bentterp-fileurl-patch-1

Conversation

@bentterp
Copy link
Copy Markdown

Update msm with support for local file:// urls in jargroups.

E.g.
[root@tux2 tmp]# cat /opt/msm/jars/spigot/target.txt
file:///data/spigotbuild/release/spigot-1.8.8.jar
[root@tux2 tmp]#

Update msm with support for local file:// urls in jargroups.

E.g.
[root@tux2 tmp]# cat /opt/msm/jars/spigot/target.txt 
file:///data/spigotbuild/release/spigot-1.8.8.jar
[root@tux2 tmp]#
@bentterp
Copy link
Copy Markdown
Author

[root@tux2 tmp]# msm jargroup create spigot file:///data/spigotbuild/release/spigot-1.8.8.jar
Creating jar group... Done.
[root@tux2 tmp]# msm jargroup getlatest spigot
Downloading latest version... ‘/data/spigotbuild/release/spigot-1.8.8.jar’ -> ‘/opt/msm/jars/spigot/downloads/spigot-1.8.8.jar’
Done.
Saved as "/opt/msm/jars/spigot/2015-11-24-03-35-27-spigot-1.8.8.jar".
[root@tux2 tmp]#

Tested in combination with this cronjob:
[root@tux2 tmp]# cat /data/spigotbuild/spigotbuild.cron
#!/bin/bash
cd /data/spigotbuild
wget --no-check-certificate -N https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
myspigot="$(/usr/bin/java -jar BuildTools.jar 2>/dev/null | grep "Saved as spigot" | awk '{print $4}')"
if test -r $myspigot ; then
cp -b $myspigot release
msm jargroup getlatest spigot
fi

@MattFoley
Copy link
Copy Markdown

+1 here, trying to get a Spigot server setup with MSM myself right now.

@derrickmehaffy
Copy link
Copy Markdown

Any update if this will be committed?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants