Update Nexus credentials property names and Jenkins pipeline for publishing

This commit is contained in:
2025-06-28 02:24:28 +02:00
parent 4e1c813a42
commit 63bdbdaab1
2 changed files with 8 additions and 3 deletions
Vendored
+6 -1
View File
@@ -8,7 +8,12 @@ pipeline {
}
stage('Publish to Maven') {
steps {
sh './gradlew publish -PalttdSnapshotUsername=$NEXUS_CREDS_USR -PalttdSnapshotPassword=$NEXUS_CREDS_PSW'
withCredentials([usernameColonPassword(credentialsId: 'alttd-publish-user', variable: 'USERPASS')]) {
sh '''
set +x
sh './gradlew publish -PalttdDevPublishUser=publish -PalttdDevPublishPass=$USERPASS'
'''
}
}
}
stage('Archive') {