You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
fix(checkmarx): bind githubTokenCredentialsId to githubToken (#4138)
This commit is contained in:
@@ -6,6 +6,6 @@ import groovy.transform.Field
|
||||
//Metadata maintained in file project://resources/metadata/checkmarxExecuteScan.yaml
|
||||
|
||||
void call(Map parameters = [:]) {
|
||||
List credentials = [[type: 'usernamePassword', id: 'checkmarxCredentialsId', env: ['PIPER_username', 'PIPER_password']]]
|
||||
List credentials = [[type: 'usernamePassword', id: 'checkmarxCredentialsId', env: ['PIPER_username', 'PIPER_password']], [type: 'token', id: 'githubTokenCredentialsId', env: ['PIPER_githubToken']]]
|
||||
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials, true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user