Update Gradle Stage in Jenkinsfile

This commit is contained in:
Len 2026-08-01 02:35:53 -05:00
parent b5236aa754
commit f07e359b42

4
Jenkinsfile vendored
View File

@ -3,13 +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