Update Gradle Stage in Jenkinsfile

This commit is contained in:
Len 2026-08-01 02:54:52 -05:00
parent 6983baa61f
commit 97b02608e4

4
Jenkinsfile vendored
View File

@ -3,11 +3,13 @@ pipeline {
stages { stages {
stage('Gradle') { stage('Gradle') {
steps { steps {
withCredentials([usernamePassword(credentialsId: 'alttd-snapshot-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
sh ''' sh '''
set +x set +x
chmod +x gradlew chmod +x gradlew
./gradlew build ./gradlew build -PalttdSnapshotUsername=$USERNAME -PalttdSnapshotPassword=$PASSWORD
''' '''
}
} }
} }
stage('Archive') { stage('Archive') {