Corrected credentials id
This commit is contained in:
Vendored
+1
-1
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user