Corrected credentials id
This commit is contained in:
parent
880108d344
commit
bbfc9c407c
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user