Skip to content

fix(ci): ensure test results are displayed on error or timeout (karaf-4.4.x)#2315

Merged
jbonofre merged 1 commit into
apache:karaf-4.4.xfrom
jbonofre:backport-2314-karaf-4.4.x
Mar 14, 2026
Merged

fix(ci): ensure test results are displayed on error or timeout (karaf-4.4.x)#2315
jbonofre merged 1 commit into
apache:karaf-4.4.xfrom
jbonofre:backport-2314-karaf-4.4.x

Conversation

@jbonofre
Copy link
Copy Markdown
Member

Backport of #2314 to karaf-4.4.x.

Use always() instead of !cancelled() so the upload and publish steps run even when the job is cancelled due to a timeout. Add a step-level timeout to the Maven test run so a timeout stops the step without cancelling the entire job, giving the reporting steps a chance to execute.

@jbonofre jbonofre changed the title fix(ci): ensure test results are displayed on error or timeout fix(ci): ensure test results are displayed on error or timeout (karaf-4.4.x) Mar 13, 2026
Use `always()` instead of `!cancelled()` so the upload and publish
steps run even when the job is cancelled due to a timeout.  Add a
step-level timeout to the Maven test run so a timeout stops the step
without cancelling the entire job, giving the reporting steps a chance
to execute.
@jbonofre jbonofre force-pushed the backport-2314-karaf-4.4.x branch from 6cc0e51 to 2fb2189 Compare March 14, 2026 07:39
@jbonofre jbonofre merged commit 6d52702 into apache:karaf-4.4.x Mar 14, 2026
2 checks passed
@jbonofre jbonofre deleted the backport-2314-karaf-4.4.x branch March 14, 2026 09:50
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