From 38ff468804ec8d76d79839119ee4dae363c1c2c0 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Mon, 8 May 2023 17:03:51 +0200 Subject: [PATCH] jenkins move dependency check plugin --- Jenkinsfile | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9158e620d..abe747032 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -79,28 +79,6 @@ pipeline { } } } - - stage ('OWASP Dependency-Check Vulnerabilities') { - when { - anyOf { - branch 'master' - branch 'release' - } - } - steps { - dependencyCheck additionalArguments: ''' - -o "./" - -s "./" - -f "ALL" - -d /dependency-check-data - --suppression dependency-check-supressions.xml - --disableKnownExploited - --disableArchive - --prettyPrint''', odcInstallation: 'dependency-check-owasp' - - dependencyCheckPublisher pattern: 'dependency-check-report.xml' - } - } stage('Deploy Eingang-Adapter to Nexus'){ when { @@ -217,6 +195,28 @@ pipeline { } } } + + stage ('OWASP Dependency-Check Vulnerabilities') { + when { + anyOf { + branch 'master' + branch 'release' + } + } + steps { + dependencyCheck additionalArguments: ''' + -o "./" + -s "./" + -f "ALL" + -d /dependency-check-data + --suppression dependency-check-supressions.xml + --disableKnownExploited + --disableArchive + --prettyPrint''', odcInstallation: 'dependency-check-owasp' + + dependencyCheckPublisher pattern: 'dependency-check-report.xml' + } + } } post { failure { -- GitLab