diff --git a/build-minecraft.jenkins b/build-minecraft.jenkins index 1c67a70..abde6ec 100644 --- a/build-minecraft.jenkins +++ b/build-minecraft.jenkins @@ -101,7 +101,7 @@ CMD cd data; java -Xms${memoryMin} -Xmx${memoryMax} -jar ../paper-mc.jar paperBuild=\$(curl --silent --location --fail https://papermc.io/api/v2/projects/paper/versions/${paperVersion} | jq '.builds | max') paperFile=\$(curl --silent --location --fail https://papermc.io/api/v2/projects/paper/versions/${paperVersion}/builds/\${paperBuild} | jq '.downloads.application.name') echo https://papermc.io/api/v2/projects/paper/versions/${paperVersion}/builds/\${paperBuild}/downloads/\${paperFile} - """ + """, returnStdout: true ).trim() }