You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/02/17 11:33:32 UTC

(camel) branch camel-4.10.x updated: Updated Jbang Jenkinsfile for jbang IT Tests

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

acosentino pushed a commit to branch camel-4.10.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.10.x by this push:
     new b6cba871be4 Updated Jbang Jenkinsfile for jbang IT Tests
b6cba871be4 is described below

commit b6cba871be4f727d6a4bd04015b96d2e8b8e2353
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 17 12:32:53 2025 +0100

    Updated Jbang Jenkinsfile for jbang IT Tests
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 Jenkinsfile.jbangtest | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile.jbangtest b/Jenkinsfile.jbangtest
index 5e9f68bc8ea..5067724f9ae 100644
--- a/Jenkinsfile.jbangtest
+++ b/Jenkinsfile.jbangtest
@@ -38,7 +38,6 @@ pipeline {
             logRotator(artifactNumToKeepStr: '5', numToKeepStr: '10')
         )
         disableConcurrentBuilds()
-        skipDefaultCheckout(true)
     }
 
     parameters {
@@ -52,6 +51,7 @@ pipeline {
                  expression { params.CLEAN }
              }
              steps {
+                 sh 'git clean -fdx'           
            }
         }
 
@@ -59,13 +59,13 @@ pipeline {
             when {
                 anyOf {
                     branch 'main'
+                    branch 'camel-4.10.x'
                     branch 'camel-4.8.x'
                 }
             }
             steps {
-                cleanWs()
                 sh "./mvnw $MAVEN_PARAMS -Pdeploy,apache-snapshots -Dquickly clean"
-                sh "./mvnw $MAVEN_PARAMS -f dsl/camel-jbang/camel-jbang-it/pom.xml -Dshared.maven.local.repo=${localMavenRepo} -Pjbang-it-test"
+                sh "./mvnw $MAVEN_PARAMS -f dsl/camel-jbang/camel-jbang-it/pom.xml -Pjbang-it-test"
             }
             post {
                always {