All checks were successful
dongho-repo/security-web/pipeline/head This commit looks good
23 lines
631 B
Groovy
23 lines
631 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Security Scan') {
|
|
steps {
|
|
// Run OWASP Dependency Check using the specific installation configured in Jenkins
|
|
dependencyCheck additionalArguments: '--scan ./ --format ALL', odcInstallation: 'depcheck'
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
always {
|
|
// Publish the results
|
|
dependencyCheckPublisher pattern: 'dependency-check-report.xml'
|
|
|
|
// Archive the reports
|
|
archiveArtifacts allowEmptyArchive: true, artifacts: 'dependency-check-report.html'
|
|
}
|
|
}
|
|
}
|