Update Nexus credentials property names and adjust Jenkins pipeline for Gradle build

This commit is contained in:
stijn committed 2025-06-28 02:31:33 +02:00
1 parent b0e04548bd
commit 1719130f69
2 files changed
+8 -3

No files matched your search

Vendored
+6 -1
View File
@@ -3,7 +3,12 @@ pipeline {
stages {
stage('Gradle') {
steps {
sh './gradlew build -PalttdSnapshotUsername=$NEXUS_CREDS_USR -PalttdSnapshotPassword=$NEXUS_CREDS_PSW'
withCredentials([usernameColonPassword(credentialsId: 'alttd-publish-user', variable: 'USERPASS')]) {
sh '''
set +x
sh './gradlew build -PalttdDevPublishUser=publish -PalttdDevPublishPass=$USERPASS'
'''
}
}
}
stage('Publish to Maven') {