From f34478c40ca95e3e162e76900406d472df624cc4 Mon Sep 17 00:00:00 2001 From: Len <40720638+destro174@users.noreply.github.com> Date: Wed, 29 Jul 2026 04:41:22 -0500 Subject: [PATCH] Update gradle stage in Jenkinsfile --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 54966ac..3a6395e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,13 @@ pipeline { stages { stage('Gradle') { steps { - sh './gradlew build' + withCredentials([usernamePassword(credentialsId: 'alttd-snapshot-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { + sh ''' + set +x + chmod +x gradlew + ./gradlew build -PalttdSnapshotUsername=$USERNAME -PalttdSnapshotPassword=$PASSWORD + ''' + } } } stage('Archive') {