View Issue Details

IDProjectCategoryView StatusLast Update
0036916mantisbttoolspublic2026-04-08 18:54
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target Version2.29.0Fixed in Version2.29.0 
Summary0036916: GitHub Actions CI builds should fail during install phase
Description

Currently, a failure to install MantisBT is detected by the GitHub Action CI builds during the subsequent phase "Post-installation steps" as it generally impossible to complete it if the database is not setup correctly.

Job should fail right away during the installation phase if an error occurs.

TagsNo tags attached.

Relationships

related to 0036915 resolveddregad core.php should not return HTTP 200 when aborting due to an error 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master b9875b12

2026-03-06 12:44

dregad


Details Diff
GHA: return error code from curl if install fails

Until now, a failure to install MantisBT was detected by the CI builds
during the subsequent phase "Post-installation steps" as it generally
impossible to complete it if the database is not setup correctly.

With this change, if the MantisBT installer exits with an HTTP error
code (>= 400), curl will fail with an exit code 22. The --fail-with-body
option allows displaying the installer's output.

That allows GitHub Actions to catch the error when it occurs, during the
"Install MantisBT" phase.

Fixes 0036916
Affected Issues
0036916
mod - build/ci_install_mantis.sh Diff File