Closed ganncamp closed 8 years ago
Implementation details:
2.0.1
needs to be releasedMeasuresBadgeRequestHandler.handle()
call api/qualitygates/project_status
with projectKey
parameter in order to retrieve the QG for the project.conditions
metric
passed to the measure badge WS is equal to metricKey
. MeasureHolder
set its background color using MeasureHolder.setBackgroundColor(SVGImageColor)
based on status
value (OK -> GREEN
, KO -> RED
, WARN -> ORANGE
)GRAY
)Out of scope (another issues need to be created in order to handle these) :
fixed in branch colorise-measures-badges
ideally: