From fdac1f8577f4be483a6d5cc7e8252a403593118f Mon Sep 17 00:00:00 2001 From: Hyatt Date: Sun, 28 Nov 2021 00:05:25 +0000 Subject: [PATCH] Update 'build-minecraft.jenkins' --- build-minecraft.jenkins | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-minecraft.jenkins b/build-minecraft.jenkins index 550ba06..f8bfb9b 100644 --- a/build-minecraft.jenkins +++ b/build-minecraft.jenkins @@ -70,10 +70,10 @@ RUN sed -i -r -e 's/v3.14\\/community/edge\\/community/' /etc/apk/repositories & apk add --no-cache ${alpineJavaPackage} curl && \\ addgroup -S -g 1000 minecraft && \\ adduser -S minecraft -G minecraft -h /minecraft -u 1000 && \\ - 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') && \\ - paperDownload="https://papermc.io/api/v2/projects/paper/versions/${paperVersion}/builds/\${paperBuild}/downloads/\${paperFile}" && \\ - curl --location --fail --silent ${paperDownload} -o /minecraft/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') && \\ + paperDownload="https://papermc.io/api/v2/projects/paper/versions/${paperVersion}/builds/\${paperBuild}/downloads/\${paperFile}" && \\ + curl --location --fail --silent \${paperDownload} -o /minecraft/paper-mc.jar && \\ mkdir /minecraft/data && \\ mkdir /minecraft/html && \\ chown -R minecraft:minecraft /minecraft