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 5a9304a7046 INFRA-26918 - clean whole .m2 org/apache/camel on Jenkins
slave
5a9304a7046 is described below
commit 5a9304a70467668e857f2b3821270193099e7daf
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Jun 20 13:51:43 2025 +0200
INFRA-26918 - clean whole .m2 org/apache/camel on Jenkins slave
as unfortunately, it seems that corrupted repo can happen on different
Camel metadata files, the new one:
```
Caused by: org.eclipse.aether.RepositoryException: Could not parse
metadata
/home/jenkins/.m2/repository/org/apache/camel/camel-util/maven-metadata-local.xml:
in epilog non whitespace content is not allowed but got a (position:
END_TAG seen ...</metadata>\na... @34:2)
```
Signed-off-by: Aurélien Pupier <[email protected]>
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 743054c94ee..73614f85c97 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -97,7 +97,7 @@ pipeline {
stage('Clean workspace') {
steps {
cleanWs()
- sh 'rm -rv
/home/jenkins/.m2/repository/org/apache/camel/camel-buildtools'
+ sh 'rm -rv
/home/jenkins/.m2/repository/org/apache/camel'
checkout scm
}
}