mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-30 05:59:39 +02:00
13 lines
459 B
Groovy
13 lines
459 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field String STEP_NAME = getClass().getName()
|
|
@Field String METADATA_FILE = 'metadata/contrastExecuteScan.yaml'
|
|
|
|
void call(Map parameters = [:]) {
|
|
List credentials = [
|
|
[type: 'usernamePassword', id: 'userCredentialsId', env: ['PIPER_username', 'PIPER_serviceKey']],
|
|
[type: 'token', id: 'apiKeyCredentialsId', env: ['PIPER_userApiKey']]
|
|
]
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
|
}
|