The jQAssistant XML Report is used for reporting to QA dashboards like SonarQube or Teamscale. Therefore for each executed concept/constraint rule a result is provided including a status. The latter is a value out of "success", "failure", "warning" or "skipped". At this time all failed rules are reported as "failure", "warning" is not generated at all.
The reported status values shall now consider the configuration settings warn-on-severity and fail-on-severity, i.e. the status shall be failure if the effective severity of the executed rule exceeds fail-on-severity, warning if the effective severity exceeds warn-on-severity, otherwise success or skipped depending if if the rule has been executed at all.
As currently fail-on-severity also controls whether the Maven plugin or the CLI will break a build another configuration setting break-on-severity shall be introduced. It should default to the value of fail-on-severity and might accept value never. This allows to configure builds that break either at a higher severity (e.g. blocker) or never and thus still allow reporting to the tools mentioned above.
The jQAssistant XML Report is used for reporting to QA dashboards like SonarQube or Teamscale. Therefore for each executed concept/constraint rule a result is provided including a status. The latter is a value out of "success", "failure", "warning" or "skipped". At this time all failed rules are reported as "failure", "warning" is not generated at all.
The reported status values shall now consider the configuration settings
warn-on-severity
andfail-on-severity
, i.e. the status shall befailure
if the effective severity of the executed rule exceedsfail-on-severity
,warning
if the effective severity exceedswarn-on-severity
, otherwisesuccess
orskipped
depending if if the rule has been executed at all.As currently
fail-on-severity
also controls whether the Maven plugin or the CLI will break a build another configuration settingbreak-on-severity
shall be introduced. It should default to the value offail-on-severity
and might accept valuenever
. This allows to configure builds that break either at a higher severity (e.g.blocker
) or never and thus still allow reporting to the tools mentioned above.