From 4955fe91651a8682b67d3c0fd697dbfc1d07cf13 Mon Sep 17 00:00:00 2001 From: Johannes Beck Date: Thu, 7 Mar 2024 12:08:17 +0000 Subject: [PATCH] Prevent to many test executions --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8a0a00e2..5302be0b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ node { stage('Pre IT-Test') { withMaven(maven: 'Maven-3.9', mavenSettingsConfig: mavenSetting, options: [jacocoPublisher(disabled: true), junitPublisher(disabled: true)]) { - sh "mvn -Pdocker-integration-test pre-integration-test" + sh "mvn -Pdocker-integration-test pre-integration-test -DskipTests" } } @@ -61,7 +61,7 @@ node { stage('Create image') { withMaven(maven: 'Maven-3.9', mavenSettingsConfig: mavenSetting, options: [jacocoPublisher(disabled: true), junitPublisher(disabled: true)]) { - sh "mvn -Pdocker install k8s:push" + sh "mvn -DskipTests -Pdocker install k8s:push" } } }