diff --git a/Jenkinsfile b/Jenkinsfile index 95ffb54a20a4b01af5b6510a2db30d6266d5e9d6..e7ca1fe8452179124020636c2d3c1eaad5ff19e0 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'