Update Nexus credentials property names and Jenkins pipeline for publishing

This commit is contained in:
stijn committed 2025-06-28 02:24:28 +02:00
1 parent 4e1c813a42
commit 63bdbdaab1
2 files changed
+8 -3

No files matched your search

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') {