Skip to content

Commit 52884ce

Browse files
authored
Switching to single quotes (#211)
Signed-off-by: Lukas Grossmann <[email protected]>
1 parent 091863d commit 52884ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ node('rhel7') {
1717
stage('Deploy') {
1818
withCredentials([usernamePassword(credentialsId: 'Nexus-IJ-Credentials', usernameVariable: 'USER', passwordVariable: 'PASSWORD')]) {
1919
if (isSnapshot) {
20-
sh "./gradlew publish -PnexusUser=${USER} -PnexusPassword=${PASSWORD}"
20+
sh './gradlew publish -PnexusUser=$USER -PnexusPassword=$PASSWORD'
2121
} else {
22-
sh "./gradlew publish closeAndReleaseStagingRepository -PnexusUser=${USER} -PnexusPassword=${PASSWORD}"
22+
sh './gradlew publish closeAndReleaseStagingRepository -PnexusUser=$USER -PnexusPassword=$PASSWORD'
2323
}
2424
}
2525
}

0 commit comments

Comments
 (0)