diff --git a/Jenkinsfile b/Jenkinsfile index 9158e620db755d16f6ec99bf7c7da69690ba4d48..abe74703251e7272172560d6b26ec095fdfa9ea5 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 {