mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-16 05:16:08 +02:00
13a97c8aea
* fix(checkmarx):disable failOnMissingReports * fix(checkmarx):disable failOnMissingReports --------- Co-authored-by: sumeet patil <sumeet.patil@sap.com>
13 lines
567 B
Groovy
13 lines
567 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field String STEP_NAME = getClass().getName()
|
|
@Field String METADATA_FILE = 'metadata/checkmarxOneExecuteScan.yaml'
|
|
|
|
//Metadata maintained in file project://resources/metadata/checkmarxoneExecuteScan.yaml
|
|
|
|
void call(Map parameters = [:]) {
|
|
List credentials = [[type: 'usernamePassword', id: 'checkmarxOneCredentialsId', env: ['PIPER_clientId', 'PIPER_clientSecret']],
|
|
[type: 'token', id: 'checkmarxOneAPIKey', env: ['PIPER_APIKey']]]
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
|
}
|