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

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


The following commit(s) were added to refs/heads/quarkus-master by this push:
     new f579c9e  Debug Jenkinsfile
f579c9e is described below

commit f579c9e2fee95cbda2c117b04479ec757a32a4c5
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Fri Aug 21 16:04:00 2020 +0100

    Debug Jenkinsfile
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f301d6b..2f825d5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,7 +16,7 @@
  */
 def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
 def JDK_NAME = env.JDK_NAME ?: 'JDK 11 (latest)'
-def MAVEN_PARAMS = '-B -e -ntp'
+def MAVEN_PARAMS = '-B -e'
 def VERSION_SUFFIX = 
"-${env.BRANCH_NAME.toUpperCase().replace('_','-')}-SNAPSHOT"
 
 if (env.BRANCH_NAME == 'camel-master') {
@@ -52,7 +52,7 @@ pipeline {
 
             steps {
                 script {
-                    def VERSION = sh script: "./mvnw ${MAVEN_PARAMS} 
help:evaluate -Dexpression=project.version -q -DforceStdout", returnStdout: true
+                    def VERSION = sh script: "./mvnw ${MAVEN_PARAMS} -U 
help:evaluate -Dexpression=project.version -q -DforceStdout", returnStdout: true
                     def NEW_SNAPSHOT_VERSION = VERSION.replace('-SNAPSHOT', 
'') + VERSION_SUFFIX
                     sh "sed -i \"s/${VERSION}/${NEW_SNAPSHOT_VERSION}/g\" 
\$(find . -name pom.xml)"
                 }

Reply via email to