1
0
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:
Daria Kuznetsova
2022-12-01 09:10:13 +01:00
committed by GitHub
parent 452b2a1ef5
commit 37141fed0a

View File

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