From ef91b73ed557bad0354fd3afcb7a32341896e219 Mon Sep 17 00:00:00 2001 From: Len <40720638+destro174@users.noreply.github.com> Date: Wed, 29 Jul 2026 13:22:29 -0500 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cd7a756..39eeb5d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,10 +3,13 @@ pipeline { stages { stage('Gradle') { steps { - sh ''' + 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') {