You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2020/03/09 11:19:57 UTC

[camel-k-runtime] 03/03: chore(build): fix Jenkinsfile

This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git

commit cb2e2bb7d34d31b1e64d67ea8182b41f2e095ad8
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Mon Mar 9 12:06:25 2020 +0100

    chore(build): fix Jenkinsfile
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 34867b9..4a261b8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,7 +21,7 @@ def LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?: '/home/jenkins/jenkins-slave/mave
 def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
 def JDK_NAME = env.JDK_NAME ?: 'JDK 1.8 (latest)'
 
-def MAVEN_PARAMS = "-U -B -e -fae -V -Dmaven.repo.local=${LOCAL_REPOSITORY}"
+def MAVEN_PARAMS = "-U -e -fae -ntp -V -Dmaven.repo.local=${LOCAL_REPOSITORY}"
 
 pipeline {
 
@@ -43,7 +43,7 @@ pipeline {
     stages {
         stage('Test & Install') {
             steps {
-                sh "./mvnw $MAVEN_PARAMS clean install -Dcheckstyle.failOnViolation=true -Psourcecheck -f pom.xml -Dnative -Dnative-image.docker-build=true"
+                sh "./mvnw $MAVEN_PARAMS clean install -Dcheckstyle.failOnViolation=true -Psourcecheck -f pom.xml -Dnative -Ddocker"
             }
         }