From 43acb71e7601662c66f7a8ae9bdebff5591124dc Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Thu, 9 Nov 2023 21:49:08 +0100
Subject: [PATCH] new jenkins build agent

---
 Jenkinsfile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 8edba44a..92fefcb5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,7 +1,7 @@
 pipeline {
     agent {
         node {
-            label 'jenkins-quarkus-build-agent'
+            label 'ozgcloud-jenkins-build-agent'
         }
     }
 
@@ -90,9 +90,6 @@ pipeline {
         }
 
         stage ('OWASP Dependency-Check Vulnerabilities') {
-            when {
-                branch 'master'
-            }
             steps {
                 dependencyCheck additionalArguments: '''
                         -o "./"
@@ -101,6 +98,7 @@ pipeline {
                         -d /dependency-check-data
                         --suppression dependency-check-supressions.xml
                         --disableKnownExploited
+                        --noupdate
                         --disableArchive
                         --prettyPrint''', odcInstallation: 'dependency-check-owasp'
 
-- 
GitLab