NXCON-277: Modernize CI/CD, auto-derive release version, streamline build & release workflows (2025)#763
Conversation
There was a problem hiding this comment.
Pull request overview
Modernizes the repository’s CI/CD for the 2025 LTS line by introducing an updated build/test workflow with SonarCloud + JaCoCo coverage plumbing, and a new tag/dispatch-driven release workflow that builds, deploys, publishes Marketplace packages, and bumps the next SNAPSHOT version.
Changes:
- Add JaCoCo + SonarCloud configuration to Maven POMs, including an aggregate coverage report in
nuxeo-ai-core-package. - Replace the previous reusable CI workflow design with a branch/PR-triggered
Build and Testworkflow (including Sonar analysis and artifact uploads). - Add a new
Release and Deployworkflow to create tags (on dispatch), build/deploy artifacts, publish Marketplace packages, create a GitHub release, and bump versions post-release.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
pom.xml |
Adds JaCoCo + SonarCloud properties and enables JaCoCo agent via jacoco-maven-plugin. |
nuxeo-ai-core-package/pom.xml |
Skips Sonar on the packaging module and adds JaCoCo report-aggregate execution. |
.github/workflows/release.yml |
New end-to-end release workflow: version derivation, tagging, deploy, Marketplace publish, GitHub release, and SNAPSHOT bump. |
.github/workflows/build_and_test.yml |
Reworked CI workflow: branch/PR triggers, Maven setup, tests, JaCoCo aggregate report generation, SonarCloud analysis, publishing. |
.github/maven-settings.xml |
Adds Maven mirror/server settings for CI builds using env-provided credentials. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Test Results216 tests 185 ✅ 18m 34s ⏱️ Results for commit 5f6e7b8. ♻️ This comment has been updated with latest results. |
c59feca to
9e1ad74
Compare
9e1ad74 to
99fcc8d
Compare
3f10734 to
9e1151a
Compare
9e1151a to
741d045
Compare
7389110 to
f37b09a
Compare
f37b09a to
b2cd0ec
Compare
6a504f8 to
d3bba31
Compare
…uild & release workflows This change consolidates the CI pipeline by: -> Converting build_and_test.yml from a reusable workflow_call workflow to a standalone workflow triggered directly on push/PR. -> Deleting the caller workflows pipeline_pr.yaml and pipeline_release.yml. -> Adding a new release.yml for automated release orchestration. -> Adding a dedicated .github/maven-settings.xml file (replacing inline XML generation). Co-Authored-By: Cursor <cursoragent@cursor.com>
a9aac99 to
5f6e7b8
Compare
|



No description provided.