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

---
 Jenkinsfile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 95ffb54..e7ca1fe 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,7 +1,7 @@
 pipeline {
     agent {
        node {
-           label 'jenkins-build-agent'
+           label 'ozgcloud-jenkins-build-agent'
         }
     }
 
@@ -154,12 +154,6 @@ pipeline {
         }
 
         stage ('OWASP Dependency-Check Vulnerabilities') {
-            when {
-                anyOf {
-                    branch 'master'
-                    branch 'release'
-                }
-            }
             steps {
                     dependencyCheck additionalArguments: ''' 
                         -o "./" 
@@ -168,6 +162,7 @@ pipeline {
                         -d /dependency-check-data
                         --suppression dependency-check-supressions.xml
                         --disableKnownExploited
+                        --noupdate
                         --disableArchive
                         --prettyPrint''', odcInstallation: 'dependency-check-owasp'
 
-- 
GitLab