Skip to content

Surface Sonatype deployment IDs in CI Job Summary and workflow outputs#7252

Draft
Copilot wants to merge 1 commit into
masterfrom
copilot/store-build-log-errors
Draft

Surface Sonatype deployment IDs in CI Job Summary and workflow outputs#7252
Copilot wants to merge 1 commit into
masterfrom
copilot/store-build-log-errors

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 2, 2026

Sonatype deployment IDs were only visible inside the Publish log, forcing manual log search to retrieve critical release metadata. This change promotes those IDs to first-class build outputs directly on the GitHub Actions build page.

  • Summary visibility on build page

    • Added a Summarize Sonatype Deployment IDs step in cibuild.yml (post-Publish) to read dist/bundles_DEPLOYMENTID.txt and render a compact Deployment IDs table in GITHUB_STEP_SUMMARY.
    • Handles missing/empty file cases with explicit summary messages instead of silent failure.
  • Machine-readable workflow outputs

    • Exported deployment IDs from the summary step as:
      • multiline deployment_ids
      • comma-separated deployment_ids_csv
    • Promoted these to job outputs:
      • sonatype_deployment_ids
      • sonatype_deployment_ids_csv
    • Enables downstream jobs/automation to consume deployment IDs without parsing logs.
  • Artifact traceability

    • Added optional upload of dist/bundles_DEPLOYMENTID.txt as a dedicated artifact (*-sonatype-deployment-ids) for audit/history access.

Example of the new summary output shape:

### Deployment IDs

| # | Deployment ID |
|---|---|
| 1 | `d8893caf-e811-4879-a670-83083133d1f9` |
| 2 | `3fd2e72d-f461-48cc-ade8-ef5e7900aaf5` |

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.

2 participants