diff --git a/Jenkinsfile b/Jenkinsfile index b55d872..a92a329 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -80,7 +80,7 @@ pipeline { stage('Upload app to Nexus') { steps { script { - withCredentials([usernamePassword(credentialsId: 'nexus-credentials', + withCredentials([usernamePassword(credentialsId: NEXUS_CREDENTIALS_ID, usernameVariable: 'NEXUS_USER', passwordVariable: 'NEXUS_PASSWORD')]) { sh """