mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 02:25:51 +01:00
maybe this will work?
This commit is contained in:
parent
c4b8af3dc4
commit
6ee4e105d7
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -56,12 +56,14 @@ pipeline {
|
||||
basedir=$(pwd)
|
||||
paperworkdir="$basedir/Paper/work"
|
||||
mcver=$(cat "$paperworkdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
|
||||
|
||||
patchedJarPath="$basedir/Yatopia-Server/build/libs/yatopia-server-$mcver-R0.1-SNAPSHOT.jar"
|
||||
vanillaJarPath="$paperworkdir/Minecraft/$mcver/$mcver.jar"
|
||||
(
|
||||
cd "$paperworkdir/Paperclip"
|
||||
mvn -T 2C clean package -Dmcver="$mcver" -Dpaperjar="$patchedJarPath" -Dvanillajar="$vanillaJarPath" -Dstyle.color=never
|
||||
)
|
||||
|
||||
cd "$paperworkdir/Paperclip"
|
||||
mvn -T 2C clean package -Dmcver="$mcver" -Dpaperjar="$patchedJarPath" -Dvanillajar="$vanillaJarPath" -Dstyle.color=never
|
||||
cd "$basedir"
|
||||
|
||||
cp -v "$paperworkdir/Paperclip/assembly/target/paperclip-$mcver.jar" "./target/yatopia-$mcver-paperclip-b$BUILD_NUMBER.jar"
|
||||
'''
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user