1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-11-06 09:09:19 +02:00

fix(helm): forward sourceRepositoryCredentialsId from groovy to go layer (#4604)

forward sourceRepositoryCredentialsId from groovy to go layer in the same way how this is done for the targetRepositoryCredentialsId
This commit is contained in:
Marcus Holl
2023-09-29 13:59:56 +02:00
committed by GitHub
parent 4dec3c3c60
commit c81e322986
3 changed files with 7 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ void call(Map parameters = [:]) {
List credentials = [
[type: 'file', id: 'kubeConfigFileCredentialsId', env: ['PIPER_kubeConfig']],
[type: 'file', id: 'dockerConfigJsonCredentialsId', env: ['PIPER_dockerConfigJSON']],
[type: 'usernamePassword', id: 'sourceRepositoryCredentialsId', env: ['PIPER_sourceRepositoryUser', 'PIPER_sourceRepositoryPassword']],
[type: 'usernamePassword', id: 'targetRepositoryCredentialsId', env: ['PIPER_targetRepositoryUser', 'PIPER_targetRepositoryPassword']],
]
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)