Skip to content

Share Java build job across public and official CI - #58

Draft
Ahmed Muhsin (ahmedmuhsin) wants to merge 1 commit into
devfrom
ci/share-public-official-job
Draft

Share Java build job across public and official CI#58
Ahmed Muhsin (ahmedmuhsin) wants to merge 1 commit into
devfrom
ci/share-public-official-job

Conversation

@ahmedmuhsin

Copy link
Copy Markdown
Contributor

Summary

  • use one shared build job for public and official CI
  • select Java 11 for the main build and Java 17 for the MCP module in both pipelines
  • explicitly switch to Java 8 only for official E2E tests

Why

The duplicated templates drifted. Public received the Java 11/17 updates, while official kept using the agent-default Java 8 and has failed with incompatible class files for months.

Validation

  • all changed YAML parses successfully
  • shared-template wiring and JDK order verified
  • all previous public build and official E2E steps preserved

Use one parameterized build-and-test template for public and official CI. Both pipelines now select Java 11 for the main build and Java 17 for the MCP module, while the official E2E tail explicitly switches to Java 8. The shared job inherits each entry pipeline's pool and keeps E2E optional.
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