Skip to content

Fix JBang IT Tests: add install goal to Maven build#22375

Merged
Croway merged 1 commit into
camel-4.18.xfrom
fix/jbang-it-clean-install-4.18.x
Apr 1, 2026
Merged

Fix JBang IT Tests: add install goal to Maven build#22375
Croway merged 1 commit into
camel-4.18.xfrom
fix/jbang-it-clean-install-4.18.x

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 1, 2026

Summary

Claude Code on behalf of Federico Mariani

  • The JBang IT Tests pipeline on camel-4.18.x only ran mvnw ... -Dquickly clean without the install goal
  • SNAPSHOT artifacts (camel-test-infra-common, camel-util, camel-support, spi-annotations) were never built/installed to the local Maven repo
  • All IT tests failed immediately with Could not resolve dependencies errors
  • This was build Handle Jetty's removal of method ServletContextHandler.addFilter(String,String,int) #1 on the branch — the job has never succeeded

Fix: Change clean to clean install in Jenkinsfile.jbangtest.

Test plan

  • CI JBang IT Tests / camel-4.18.x should resolve dependencies and run tests
  • Verify no impact on other branches (main, camel-4.14.x) that share the same Jenkinsfile

🤖 Generated with Claude Code

The pipeline only ran `clean` without `install`, so SNAPSHOT
artifacts were never built. The subsequent IT tests failed with
unresolved dependencies (camel-test-infra-common, camel-util, etc).
@Croway Croway requested a review from oscerd April 1, 2026 12:39
@Croway Croway merged commit dff1285 into camel-4.18.x Apr 1, 2026
1 check passed
@davsclaus davsclaus deleted the fix/jbang-it-clean-install-4.18.x branch April 12, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant