Skip to content

ci(java): publish the nightly SNAPSHOT to Sonatype - #2221

Merged
rapids-bot[bot] merged 4 commits into
NVIDIA:mainfrom
ramakrishnap-nv:ci/nightly-java-snapshot-publish
Oct 28, 2026
Merged

rapids-bot[bot] merged 4 commits into
NVIDIA:mainfrom
ramakrishnap-nv:ci/nightly-java-snapshot-publish

Conversation

@ramakrishnap-nv

@ramakrishnap-nv ramakrishnap-nv commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Runs java-maven-publish for nightly builds as well as release tags. Non-release builds go to the Sonatype snapshot repository, so each nightly overwrites the same -SNAPSHOT version. Release tags still go to Maven Central.

Testing: the snapshot upload has not run from CI yet.

@copy-pr-bot

copy-pr-bot Bot commented Oct 27, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ramakrishnap-nv ramakrishnap-nv added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Oct 27, 2026
@ramakrishnap-nv ramakrishnap-nv self-assigned this Oct 27, 2026
@ramakrishnap-nv
ramakrishnap-nv marked this pull request as ready for review October 27, 2026 20:41
@ramakrishnap-nv
ramakrishnap-nv requested a review from a team as a code owner October 27, 2026 20:41
@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: NVIDIA/cuopt
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: 4ed7f37
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: b124d7f2-1ab8-4a7a-b44b-62b0ec290401
Commits

Reviewing files that changed from the base of the PR and between 4ed7f37 and 8614f8d.

Files selected for processing: 1
  • .github/workflows/build.yaml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Walkthrough

The java-maven-publish job now runs for version-tag refs or when inputs.build_type is nightly.

Changes: Java Maven publishing

Layer / File(s) Summary
Publish job condition
.github/workflows/build.yaml
The job condition now includes nightly builds alongside version-tag refs.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Feature

Possibly related PRs

  • NVIDIA/cuopt#2195: This PR changes the workflow used by java-maven-publish, including its snapshot publishing behavior.

Suggested reviewers: kylefromnvidia

Merge Risk: Minimal · up to 8614f

The workflow change is ready to merge; nightly publishing follows the intended snapshot path.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the CI change: publishing the Java nightly SNAPSHOT to Sonatype.
Description check Passed The description explains the nightly publishing behavior, the Sonatype snapshot repository, release-tag behavior, and current testing status.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

CI Test Summary

⏭️ All 5 test job(s) skipped.

@ramakrishnap-nv

Copy link
Copy Markdown
Collaborator Author

/merge

@rapids-bot
rapids-bot Bot merged commit 2b6e27d into NVIDIA:main Oct 28, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants