Corrected credentials id

This commit is contained in:
Teriuihi 2025-06-20 22:47:48 +02:00
parent 880108d344
commit bbfc9c407c

2
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ pipeline {
stages {
stage('Gradle') {
steps {
withCredentials([usernamePassword(credentialsId: 'my-credentials-id', usernameVariable: 'NEXUS_USERNAME', passwordVariable: 'NEXUS_PASSWORD')]) {
withCredentials([usernamePassword(credentialsId: 'alttd-snapshot-user', usernameVariable: 'NEXUS_USERNAME', passwordVariable: 'NEXUS_PASSWORD')]) {
sh """
./gradlew build \
-PalttdSnapshotUsername=$NEXUS_USERNAME \