Update jenkins again
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -36,7 +36,7 @@ pipeline {
|
||||
docker run --rm -v "\$(pwd):/src" \
|
||||
returntocorp/semgrep \
|
||||
semgrep scan --config=p/ci --debug \
|
||||
--sarif --output /src/semgrep.sarif \
|
||||
--json --output /src/semgrep.json \
|
||||
/src/internal /src/cmd || true
|
||||
|
||||
echo "After semgrep:"
|
||||
@@ -52,7 +52,7 @@ pipeline {
|
||||
-H "Authorization: Token ${DD_API_KEY}" \
|
||||
-F "scan_type=SARIF" \
|
||||
-F "file=@\$(pwd)/semgrep.sarif" \
|
||||
-F "product_name=ReSendit" \
|
||||
-F "product_name=Sendit" \
|
||||
-F "engagement_name=Jenkins-CI" \
|
||||
-F "auto_create_context=true" \
|
||||
-F "close_old_findings=true"
|
||||
@@ -112,4 +112,4 @@ pipeline {
|
||||
// sh 'rm -f semgrep.sarif || true'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user