From 6024dd6fa46f158081db79803f85289f07b8663c Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Fri, 6 May 2022 07:29:29 +0200 Subject: [PATCH] Skips test during deploy --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d9548562c..233ade32d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -142,7 +142,7 @@ pipeline { dir("local-snapshots-dir/") { deleteDir() } - sh './mvnw -B source:jar javadoc:jar -DskipAssembly' + sh './mvnw -B source:jar javadoc:jar -DskipTests -DskipAssembly' } } stage('Deploy Snapshot') { @@ -151,7 +151,7 @@ pipeline { } steps { withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) { - sh './mvnw -s \${CUSTOM_SETTINGS} deploy' + sh './mvnw -s \${CUSTOM_SETTINGS} deploy -DskipTests -DskipAssembly' } } }