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

Croway 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 5b5cbd85114f ci: fix JBang IT tests on main
5b5cbd85114f is described below

commit 5b5cbd85114fd8a42526fb58a69b716ecc9e2a08
Author: Croway <[email protected]>
AuthorDate: Mon May 4 15:49:50 2026 +0200

    ci: fix JBang IT tests on main
    
    The pipeline only ran `clean` without `install`, so SNAPSHOT artifacts
    were never placed in the local Maven repository. On ephemeral EC2 agents
    without cached artifacts, the subsequent IT test steps failed with
    unresolved dependencies (camel-test-infra-common, camel-util, etc).
    
    Also make `jbang version --update` non-fatal in the Dockerfile to
    prevent Docker image build failures when jbang is already up to date.
---
 Jenkinsfile.jbangtest                                                   | 2 +-
 .../main/resources/org/apache/camel/test/infra/cli/services/Dockerfile  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile.jbangtest b/Jenkinsfile.jbangtest
index 0cfb31003f11..7ea0129e0afb 100644
--- a/Jenkinsfile.jbangtest
+++ b/Jenkinsfile.jbangtest
@@ -62,7 +62,7 @@ pipeline {
                 }
             }
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Pdeploy,apache-snapshots -Dquickly 
clean"
+                sh "./mvnw $MAVEN_PARAMS -Pdeploy,apache-snapshots -Dquickly 
clean install"
                 sh "./mvnw $MAVEN_PARAMS -f 
test-infra/camel-test-infra-cli/pom.xml -Pjbang-it-test"
                 sh "./mvnw $MAVEN_PARAMS -f 
dsl/camel-jbang/camel-jbang-it/pom.xml -Pjbang-it-test"
             }
diff --git 
a/test-infra/camel-test-infra-cli/src/main/resources/org/apache/camel/test/infra/cli/services/Dockerfile
 
b/test-infra/camel-test-infra-cli/src/main/resources/org/apache/camel/test/infra/cli/services/Dockerfile
index 39d22a292826..7fe89a9d5816 100644
--- 
a/test-infra/camel-test-infra-cli/src/main/resources/org/apache/camel/test/infra/cli/services/Dockerfile
+++ 
b/test-infra/camel-test-infra-cli/src/main/resources/org/apache/camel/test/infra/cli/services/Dockerfile
@@ -84,7 +84,7 @@ EXPOSE 22
 USER jbang
 
 RUN echo "Updating jbang" \
-    && jbang version --update
+    && jbang version --update || true
 
 RUN echo "Clearing JBang cache" \
     && jbang cache clear

Reply via email to