From 5df69c0c98808be71f16f2da23f41db8cf4f3d8a Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Fri, 8 Mar 2024 11:33:00 +0100 Subject: [PATCH] OZG-5158 [chore] disable owasp step --- Jenkinsfile | 31 ++++++++++++++++--------------- pom.xml | 1 + 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e3d8cac..2a71f36 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -87,21 +87,22 @@ pipeline { } } - stage ('OWASP Dependency-Check Vulnerabilities') { - 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' - } - } +// TODO aktuell dauert es viel zu lange und wird am Ende einfach abgebrochen +// stage ('OWASP Dependency-Check Vulnerabilities') { +// 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 to Nexus'){ steps { diff --git a/pom.xml b/pom.xml index dfb3b4a..a95acbd 100644 --- a/pom.xml +++ b/pom.xml @@ -204,6 +204,7 @@ <!-- Use JUnit to run test classes --> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> </plugin> -- GitLab