Forgot to update the upload :p
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -50,8 +50,8 @@ pipeline {
|
||||
sh """
|
||||
curl -X POST "${DD_URL}/api/v2/import-scan/" \
|
||||
-H "Authorization: Token ${DD_API_KEY}" \
|
||||
-F "scan_type=SARIF" \
|
||||
-F "file=@\$(pwd)/semgrep.sarif" \
|
||||
-F "scan_type=Semgrep JSON Report" \
|
||||
-F "file=@\$(pwd)/semgrep.json" \
|
||||
-F "product_name=Sendit" \
|
||||
-F "engagement_name=Jenkins-CI" \
|
||||
-F "auto_create_context=true" \
|
||||
|
||||
Reference in New Issue
Block a user