This is an automated email from the ASF dual-hosted git repository.
apupier 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 10cbe363f172 CAMEL-24290 - skip local Maven install on deploy
snapshots Jenkins build
10cbe363f172 is described below
commit 10cbe363f1727c6c2baa9b83572e179eb9f47d29
Author: Aurélien Pupier <[email protected]>
AuthorDate: Thu Sep 17 14:13:25 2026 +0200
CAMEL-24290 - skip local Maven install on deploy snapshots Jenkins build
The local installation of the artifacts is not used.
It allows to go from 30minutes to 18minutes build.
it also avoids to have collision of snapshots writing if another camel
job is running on same Jenkins node.
It also reduce the size of the local Maven repository on the Jenkins
nodes.
Signed-off-by: Aurélien Pupier <[email protected]>
---
Jenkinsfile.deploy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy
index 2d6f564e30c4..127893195f4b 100644
--- a/Jenkinsfile.deploy
+++ b/Jenkinsfile.deploy
@@ -109,7 +109,7 @@ pipeline {
def nativeExe = env.BRANCH_NAME in ['main', 'camel-4.22.x']
def exeParams = nativeExe ? '-Dcamel.exe.build=true ' : ''
def pathPrefix = nativeExe ?
"PATH=\"${env.LLVM_MINGW_BIN}:\$PATH\" " : ''
- sh "${pathPrefix}./mvnw $MAVEN_PARAMS
${exeParams}-Pdeploy,apache-snapshots -Dquickly clean deploy"
+ sh "${pathPrefix}./mvnw $MAVEN_PARAMS
${exeParams}-Pdeploy,apache-snapshots -Dquickly -Dmaven.install.skip=true clean
deploy"
}
}
}