This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 426a41d (chores) CI: avoid force updating snapshots for non-compiling
steps
426a41d is described below
commit 426a41dcc9a3bfbc9d5ea1d917adb87c3fa5abe1
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Fri Jan 7 17:59:20 2022 +0100
(chores) CI: avoid force updating snapshots for non-compiling steps
---
Jenkinsfile | 6 +++---
Jenkinsfile.jdk17 | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 685e79b..b8d6716 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,7 +20,7 @@
def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
def JDK_NAME = env.JDK_NAME ?: 'jdk_11_latest'
-def MAVEN_PARAMS = "-U -B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true
-Dsurefire.rerunFailingTestsCount=2"
+def MAVEN_PARAMS = "-B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true
-Dsurefire.rerunFailingTestsCount=2"
pipeline {
@@ -63,7 +63,7 @@ pipeline {
branch 'main'
}
steps {
- sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean
deploy"
+ sh "./mvnw -U $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean
deploy"
}
}
@@ -76,7 +76,7 @@ pipeline {
stage('Code Quality Review') {
steps {
withCredentials([string(credentialsId: 'apache-camel-core',
variable: 'SONAR_TOKEN')]) {
- sh "./mvnw $MAVEN_PARAMS
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache
-Dsonar.projectKey=apache_camel
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar"
+ sh "./mvnw $MAVEN_PARAMS
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache
-Dsonar.projectKey=apache_camel
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar"
}
}
}
diff --git a/Jenkinsfile.jdk17 b/Jenkinsfile.jdk17
index 0e6211e..6c07a28 100644
--- a/Jenkinsfile.jdk17
+++ b/Jenkinsfile.jdk17
@@ -20,7 +20,7 @@
def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
def JDK_NAME = env.JDK_NAME ?: 'jdk_17_latest'
-def MAVEN_PARAMS = "-U -B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true
-Dsurefire.rerunFailingTestsCount=2"
+def MAVEN_PARAMS = "-B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true
-Dsurefire.rerunFailingTestsCount=2"
pipeline {
@@ -63,7 +63,7 @@ pipeline {
branch 'main'
}
steps {
- sh "./mvnw $MAVEN_PARAMS -Darchetype.test.skip
-Dmaven.test.skip.exec=true clean install"
+ sh "./mvnw -U $MAVEN_PARAMS -Darchetype.test.skip
-Dmaven.test.skip.exec=true clean install"
}
}