1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-03-03 15:02:35 +02:00

fix(checkmarxOne): added missing report (#4482)

* fix(checkmarxOne): added missing report

* added missing files after go generate
This commit is contained in:
sumeet patil 2023-07-27 13:05:54 +05:30 committed by GitHub
parent 84dead704b
commit 08d22a62e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -203,6 +203,7 @@ func (p *checkmarxOneExecuteScanReports) persist(stepConfig checkmarxOneExecuteS
{FilePattern: "**/Cx1_SASTResults_*.xml", ParamRef: "", StepResultType: "checkmarxone"}, {FilePattern: "**/Cx1_SASTResults_*.xml", ParamRef: "", StepResultType: "checkmarxone"},
{FilePattern: "**/ScanReport.*", ParamRef: "", StepResultType: "checkmarxone"}, {FilePattern: "**/ScanReport.*", ParamRef: "", StepResultType: "checkmarxone"},
{FilePattern: "**/toolrun_checkmarxone_*.json", ParamRef: "", StepResultType: "checkmarxone"}, {FilePattern: "**/toolrun_checkmarxone_*.json", ParamRef: "", StepResultType: "checkmarxone"},
{FilePattern: "**/piper_checkmarxone_report.json", ParamRef: "", StepResultType: "checkmarxone"},
} }
envVars := []gcs.EnvVar{ envVars := []gcs.EnvVar{
{Name: "GOOGLE_APPLICATION_CREDENTIALS", Value: gcpJsonKeyFilePath, Modified: false}, {Name: "GOOGLE_APPLICATION_CREDENTIALS", Value: gcpJsonKeyFilePath, Modified: false},
@ -843,6 +844,7 @@ func checkmarxOneExecuteScanMetadata() config.StepData {
{"filePattern": "**/Cx1_SASTResults_*.xml", "type": "checkmarxone"}, {"filePattern": "**/Cx1_SASTResults_*.xml", "type": "checkmarxone"},
{"filePattern": "**/ScanReport.*", "type": "checkmarxone"}, {"filePattern": "**/ScanReport.*", "type": "checkmarxone"},
{"filePattern": "**/toolrun_checkmarxone_*.json", "type": "checkmarxone"}, {"filePattern": "**/toolrun_checkmarxone_*.json", "type": "checkmarxone"},
{"filePattern": "**/piper_checkmarxone_report.json", "type": "checkmarxone"},
}, },
}, },
}, },

View File

@ -485,3 +485,5 @@ spec:
type: checkmarxone type: checkmarxone
- filePattern: "**/toolrun_checkmarxone_*.json" - filePattern: "**/toolrun_checkmarxone_*.json"
type: checkmarxone type: checkmarxone
- filePattern: "**/piper_checkmarxone_report.json"
type: checkmarxone