update
All checks were successful
dongho-repo/security-web/pipeline/head This commit looks good

This commit is contained in:
2025-12-10 13:06:52 +01:00
parent f1bbf7ffb6
commit 2f25892350

11
Jenkinsfile vendored
View File

@@ -1,19 +1,10 @@
pipeline {
agent any
// Explicitly define the tool to ensure it is available on the path.
// The symbol 'dependency-check' usually corresponds to the OWASP Dependency-Check plugin tool type.
tools {
'dependency-check' 'depcheck'
}
stages {
stage('Security Scan') {
steps {
// Debug: Verify the tool is available and print version
sh 'dependency-check.sh --version || echo "WARNING: dependency-check.sh not found in PATH"'
// Run OWASP Dependency Check using the specific installation
// Run OWASP Dependency Check using the specific installation configured in Jenkins
dependencyCheck additionalArguments: '--scan ./ --format ALL', odcInstallation: 'depcheck'
}
}