Update Gradle stage in Jenkinsfile

This commit is contained in:
Len 2026-07-29 14:47:38 -05:00
parent 85e5effc15
commit db5e6921ef

8
Jenkinsfile vendored
View File

@ -3,7 +3,13 @@ pipeline {
stages {
stage('Gradle') {
steps {
sh 'bash 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') {