Update Jenkinsfile

This commit is contained in:
Len 2026-07-29 13:22:29 -05:00
parent 4c387bd4a4
commit ef91b73ed5

5
Jenkinsfile vendored
View File

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