mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
refactor(protecode): align Docker config.json parameter name (#1915)
This commit is contained in:
parent
5338ea1476
commit
6a76adf5ff
@ -173,8 +173,11 @@ spec:
|
||||
secrets:
|
||||
- name: protecodeCredentialsId
|
||||
type: jenkins
|
||||
- name: dockerCredentialsId
|
||||
- name: dockerConfigJsonCredentialsId
|
||||
type: jenkins
|
||||
aliases:
|
||||
- name: dockerCredentialsId
|
||||
deprecated: true
|
||||
outputs:
|
||||
resources:
|
||||
- name: influx
|
||||
|
@ -12,7 +12,7 @@ void call(Map parameters = [:]) {
|
||||
|
||||
List credentials = [
|
||||
[type: 'usernamePassword', id: 'protecodeCredentialsId', env: ['PIPER_username', 'PIPER_password']],
|
||||
[type: 'file', id: 'dockerCredentialsId', env: ['DOCKER_CONFIG']],
|
||||
[type: 'file', id: 'dockerConfigJsonCredentialsId', env: ['DOCKER_CONFIG']],
|
||||
]
|
||||
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user