Update JenkinsFile

This commit is contained in:
2026-03-25 11:34:17 +01:00
parent bfeeaa1190
commit f11c758008

14
Jenkinsfile vendored
View File

@@ -23,6 +23,10 @@ pipeline {
REGISTRY_CREDS = "registry-creds"
IMAGE = "${REGISTRY}/${IMAGE_NAME}"
DD_URL = "https://DD.brammie15.dev"
DD_API_KEY = credentials('dd-api-key')
NVD_API_KEY = credentials("nvd-api-key")
}
stages {
@@ -32,6 +36,16 @@ pipeline {
}
}
stage('SAST - Semgrep') {
steps {
sh """
docker run --rm -v "\$(pwd):/src" \
returntocorp/semgrep \
semgrep scan --config=auto /src
"""
}
}
stage('Build image') {
steps {
script {