Skip to content

Commit 6bebfbf

Browse files
Fix nexus upload to pass correct environment variable (#1480)
1 parent 7bbdaf7 commit 6bebfbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vars/nexusUpload.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ void call(Map parameters = [:]) {
1212
final script = checkScript(this, parameters) ?: this
1313
parameters = DownloadCacheUtils.injectDownloadCacheInMavenParameters(script, parameters)
1414

15-
List credentials = [[type: 'usernamePassword', id: 'nexusCredentialsId', env: ['PIPER_username', 'PIPER_password']]]
15+
List credentials = [[type: 'usernamePassword', id: 'nexusCredentialsId', env: ['PIPER_user', 'PIPER_password']]]
1616
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
1717
}

0 commit comments

Comments
 (0)