1
0
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:
Christopher Fenner 2020-08-12 11:31:09 +02:00 committed by GitHub
parent 5338ea1476
commit 6a76adf5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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)
}