Update Gradle Stage in Jenkinsfile

This commit is contained in:
Len 2026-08-01 03:03:02 -05:00
parent c9b919879a
commit 1bb016ab8c

11
Jenkinsfile vendored
View File

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