diff --git a/build-minecraft.jenkins b/build-minecraft.jenkins index 654f3cf..2527a77 100644 --- a/build-minecraft.jenkins +++ b/build-minecraft.jenkins @@ -77,7 +77,7 @@ CMD ["../paper-mc.jar"] paperDownload = sh ( script: """ paperBuild=\$(curl --silent --location --fail https://nexus.c.test-chamber-13.lan/repository/paper-io/api/v2/projects/paper/versions/${paperVersion} | jq '.builds | max') - paperFile=\$(curl --silent --location --fail https://nexus.c.test-chamber-13.lan/repository/paper-io/api/v2/projects/paper/versions/${paperVersion}/builds/\${paperBuild} | jq '.downloads.application.name') + paperFile=\$(curl --silent --location --fail https://nexus.c.test-chamber-13.lan/repository/paper-io/api/v2/projects/paper/versions/${paperVersion}/builds/\${paperBuild} | jq -r '.downloads.application.name') echo https://nexus.c.test-chamber-13.lan/repository/paper-io/api/v2/projects/paper/versions/${paperVersion}/builds/\${paperBuild}/downloads/\${paperFile} """, returnStdout: true