diff --git a/Jenkinsfile b/Jenkinsfile index 8cfdb418e18aebe4766b8aec7ee513c711056d9c..1e15555071c8ed849f6debbcb8dee08127d4cdbf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,7 @@ pipeline { agent { node { - label 'jenkins-build-agent-nodejs-18' + label 'ozgcloud-jenkins-build-agent' } } @@ -212,6 +212,23 @@ pipeline { } } } + + stage ('OWASP Dependency-Check Vulnerabilities') { + steps { + dependencyCheck additionalArguments: ''' + -o "./" + -s "./" + -f "ALL" + -d /dependency-check-data + --suppression dependency-check-supressions.xml + --disableKnownExploited + --noupdate + --disableArchive + --prettyPrint''', odcInstallation: 'dependency-check-owasp' + + dependencyCheckPublisher pattern: 'dependency-check-report.xml' + } + } } post { failure {