Skip to content

ci: fix nightly publishing on release/struts-6-8-x#1644

Merged
lukaszlenart merged 2 commits intorelease/struts-6-8-xfrom
fix/ci-nightlies-branch-guard
Mar 30, 2026
Merged

ci: fix nightly publishing on release/struts-6-8-x#1644
lukaszlenart merged 2 commits intorelease/struts-6-8-xfrom
fix/ci-nightlies-branch-guard

Conversation

@lukaszlenart
Copy link
Copy Markdown
Member

@lukaszlenart lukaszlenart commented Mar 30, 2026

Summary

  • Update when branch guards in Jenkinsfile from release/struts-6-7-x to release/struts-6-8-x for three publishing stages: Build Source & JavaDoc, Deploy Snapshot, and Upload nightlies.
  • These conditions were never updated when the branch was created, causing all publishing stages to be silently skipped on every release/struts-6-8-x build. As a result, no 6.9.0-SNAPSHOT artifacts have been uploaded to nightlies.apache.org/struts/snapshot/ — the latest Struts 6 nightlies are still 6.7.5-SNAPSHOT from 2025-05-06.

Test plan

  • Merge and wait for next release/struts-6-8-x Jenkins run
  • Verify Build Source & JavaDoc, Deploy Snapshot, and Upload nightlies stages execute (not skipped) in Pipeline Explorer
  • Confirm struts-6.9.0-SNAPSHOT-*.zip files appear on nightlies with fresh timestamps

Made with Cursor

The Build Source & JavaDoc, Deploy Snapshot, and Upload nightlies stages
still referenced release/struts-6-7-x in their when conditions, causing
them to be skipped on every release/struts-6-8-x build. This prevented
6.9.0-SNAPSHOT artifacts from being published to nightlies.

Made-with: Cursor
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
25 Security Hotspots
43.3% Coverage on New Code (required ≥ 80%)
3.3% Duplication on New Code (required ≤ 3%)
E Reliability Rating on New Code (required ≥ A)
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@lukaszlenart lukaszlenart merged commit 6c01895 into release/struts-6-8-x Mar 30, 2026
9 of 10 checks passed
@lukaszlenart lukaszlenart deleted the fix/ci-nightlies-branch-guard branch March 30, 2026 10:37
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