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 {
stage('Gradle') {
steps {
withCredentials([usernamePassword(credentialsId: 'alttd-snapshot-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
sh '''
set +x
chmod +x gradlew
./gradlew build
./gradlew build -PalttdSnapshotUsername=$USERNAME -PalttdSnapshotPassword=$PASSWORD
'''
}
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: 'build/libs/', followSymlinks: false