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

fix(whitesourceExecuteScan): added missing credential declaration for the docker config (#3404)

This commit is contained in:
Pavel Busko
2022-01-11 09:43:12 +01:00
committed by GitHub
parent 265d749469
commit f196f3a5a0

View File

@@ -16,6 +16,7 @@ void call(Map parameters = [:]) {
List credentials = [ List credentials = [
[type: 'token', id: 'orgAdminUserTokenCredentialsId', env: ['PIPER_orgToken']], [type: 'token', id: 'orgAdminUserTokenCredentialsId', env: ['PIPER_orgToken']],
[type: 'token', id: 'userTokenCredentialsId', env: ['PIPER_userToken']], [type: 'token', id: 'userTokenCredentialsId', env: ['PIPER_userToken']],
[type: 'file', id: 'dockerConfigJsonCredentialsId', env: ['PIPER_dockerConfigJSON']],
] ]
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials) piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
} }