From f07e359b425d71f2feda820531efc07c7cd2d281 Mon Sep 17 00:00:00 2001 From: Len <40720638+destro174@users.noreply.github.com> Date: Sat, 1 Aug 2026 02:35:53 -0500 Subject: [PATCH] Update Gradle Stage in Jenkinsfile --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a8d131a..60ec1a8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,11 +3,13 @@ pipeline { stages { stage('Gradle') { steps { + withCredentials([usernamePassword(credentialsId: 'alttd-snapshot-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh ''' set +x chmod +x gradlew - ./gradlew build + ./gradlew build -PalttdSnapshotUsername=$USERNAME -PalttdSnapshotPassword=$PASSWORD ''' + } } } stage('Archive') {