mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
6426a2f792
* Change credential name in yaml Change cpiAPIServiceKeyCredentialId to cpiApiServiceKeyCredentialsId in cpi yaml files * Refactor groovy files Change cpiAPIServiceKeyCredentialId to cpiApiServiceKeyCredentialsId in cpi groovy files * Change credential name in md Change cpiAPIServiceKeyCredentialId to cpiApiServiceKeyCredentialsId in cpi md files
12 lines
392 B
Groovy
12 lines
392 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field String STEP_NAME = getClass().getName()
|
|
@Field String METADATA_FILE = 'metadata/integrationArtifactGetServiceEndpoint.yaml'
|
|
|
|
void call(Map parameters = [:]) {
|
|
List credentials = [
|
|
[type: 'token', id: 'cpiApiServiceKeyCredentialsId', env: ['PIPER_apiServiceKey']]
|
|
]
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
|
}
|