We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 091863d commit 52884ceCopy full SHA for 52884ce
Jenkinsfile
@@ -17,9 +17,9 @@ node('rhel7') {
17
stage('Deploy') {
18
withCredentials([usernamePassword(credentialsId: 'Nexus-IJ-Credentials', usernameVariable: 'USER', passwordVariable: 'PASSWORD')]) {
19
if (isSnapshot) {
20
- sh "./gradlew publish -PnexusUser=${USER} -PnexusPassword=${PASSWORD}"
+ sh './gradlew publish -PnexusUser=$USER -PnexusPassword=$PASSWORD'
21
} else {
22
- sh "./gradlew publish closeAndReleaseStagingRepository -PnexusUser=${USER} -PnexusPassword=${PASSWORD}"
+ sh './gradlew publish closeAndReleaseStagingRepository -PnexusUser=$USER -PnexusPassword=$PASSWORD'
23
}
24
25
0 commit comments