Update gradle stage in Jenkinsfile

This commit is contained in:
Len 2026-07-29 04:41:22 -05:00
parent 6c0f5637c3
commit f34478c40c

8
Jenkinsfile vendored
View File

@ -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') {