From 6d9d132637e5b1db0e24987db182fe4d9c53277c Mon Sep 17 00:00:00 2001 From: The_Spider Date: Wed, 19 Jan 2022 14:12:22 -0600 Subject: [PATCH] use local image repo --- build-minecraft.jenkins | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-minecraft.jenkins b/build-minecraft.jenkins index b93ab38..1e27aec 100644 --- a/build-minecraft.jenkins +++ b/build-minecraft.jenkins @@ -52,9 +52,9 @@ podTemplate( sh "apk add --no-cache curl jq" paperDownload = sh ( script: """ - 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} + 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') + echo https://nexus.c.test-chamber-13.lan/repository/paper-io/api/v2/projects/paper/versions/${paperVersion}/builds/\${paperBuild}/downloads/\${paperFile} """, returnStdout: true ).trim()