mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 10:35:42 +01:00
Fix Grabbing MC Version
This commit is contained in:
parent
5969cc2120
commit
2fca0b09a8
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -71,6 +71,9 @@ pipeline {
|
||||
sh '''
|
||||
mkdir -p "./target"
|
||||
./gradlew paperclip
|
||||
basedir=$(pwd)
|
||||
paperworkdir="$basedir/Paper/work"
|
||||
mcver=$(cat "$paperworkdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
|
||||
cp "yatopia-$mcver-paperclip.jar" "./target/yatopia-$mcver-paperclip-b$BUILD_NUMBER.jar"
|
||||
'''
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user