From 70a2e916fa4df3c7e916f5f596e46221c25d3317 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Fri, 10 Nov 2023 09:18:56 +0100
Subject: [PATCH] new jenkins build agent

---
 Jenkinsfile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 8cfdb418e1..6aafbd67de 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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 {
-- 
GitLab