Update Gradle stage in Jenkinsfile

This commit is contained in:
Len committed 2026-07-29 14:47:38 -05:00
1 parent 85e5effc15
commit db5e6921ef
1 file changed
+7 -1
Vendored
+7 -1
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') {