• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openmrs / openmrs-core / 27017032955
64%
master: 65%

Build:
Build:
LAST BUILD BRANCH: TRUNK-6196-purge-patient-clinical-cascade
DEFAULT BRANCH: master
Ran 05 Jun 2026 01:21PM UTC
Jobs 1
Files 848
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Jun 2026 01:15PM UTC coverage: 73.596% (+9.9%) from 63.664%
27017032955

push

github

web-flow
Deploy SNAPSHOT artifacts to the OpenMRS maven repo from GitHub Actions (#6164)

* Deploy SNAPSHOT artifacts to the OpenMRS maven repo from GitHub Actions

Part of the Bamboo-to-GitHub-Actions migration. Adds a deploy-snapshot
job mirroring the deploy job of
openmrs-contrib-gha-workflows/build-backend-module.yml used by modules:

- runs only on direct pushes to the canonical repo (never PRs or forks),
  on the branches this workflow already builds (master, 2.9.x, 2.8.x)
- waits for the full build matrix to pass
- guards on the project version being a SNAPSHOT, so a release-plugin
  commit cannot accidentally publish a release to the snapshots repo
- deploys with JDK 8 (javaCompilerVersion is 1.8 on this line) to
  openmrs-repo-snapshots from distributionManagement, authenticating
  via the MAVEN_REPO_USERNAME / MAVEN_REPO_API_KEY org secrets

* Harden the deploy-snapshot job

- Allow workflow_dispatch to deploy (with an explicit branch allowlist,
  since on.push.branches does not constrain dispatch) so maintainers can
  re-publish a snapshot without pushing an empty commit
- Fail fast with a clear error when the MAVEN_REPO_* secrets are not
  scoped to this repository, instead of a buried Nexus 401
- Serialize deploys per branch (concurrency group, never cancel an
  in-flight upload) so rapid pushes cannot interleave maven-metadata.xml
  updates and leave an older build as the resolvable latest
- Make the version probe fail loudly (set -e) instead of silently
  skipping deploy when maven itself fails
- Document why deploy pins JDK 8, cross-reference the duplicated branch
  list, use ::notice:: for the skip message, quieter transfer logs

* Skip the snapshot deploy when the branch tip has moved past this run

The concurrency group serializes deploys but does not order them: a
rerun of an older commit (e.g. after a hung matrix leg) could deploy
AFTER a newer push and leave the older build resolvable as the latest
snapshot until the next push. Check the ... (continued)

19096 of 25947 relevant lines covered (73.6%)

0.92 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
92.47
-1.08% api/src/main/java/org/openmrs/validator/PatientProgramValidator.java
1
83.54
-0.2% api/src/main/java/org/openmrs/Concept.java
Jobs
ID Job ID Ran Files Coverage
1 27017032955.1 05 Jun 2026 01:21PM UTC 848
63.67
Source Files on build 27017032955
  • Tree
  • List 848
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27017032955
  • 329a0da7 on github
  • Prev Build on 2.9.x (#27011900216)
  • Next Build on 2.9.x (#27147200794)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc