From 712042a7fdc8e853aaad2fd4c687af233927e90b Mon Sep 17 00:00:00 2001 From: Dongho Kim Date: Wed, 10 Dec 2025 12:55:04 +0100 Subject: [PATCH] update --- Jenkinsfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..c03a822 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,23 @@ +pipeline { + agent any + + stages { + stage('Security Scan') { + steps { + // Run OWASP Dependency Check + // 'depcheck' matches the tool name configured in Jenkins Global Tool Configuration + dependencyCheck additionalArguments: '--scan ./ --format ALL', odcInstallation: 'depcheck' + } + } + } + + post { + always { + // Publish the results + dependencyCheckPublisher pattern: 'dependency-check-report.xml' + + // Archive the reports so they can be viewed in Jenkins UI + archiveArtifacts allowEmptyArchive: true, artifacts: 'dependency-check-report.html' + } + } +}