Class DoraDashboardAction
java.lang.Object
io.jenkins.plugins.dorametrics.ui.DoraDashboardAction
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject,RootAction
Dashboard UI at /dora-metrics/. Data methods called from Jelly template.
API endpoints are handled by
DoraApiAction at /dora-api/.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMttr()intHow many days of builds are kept, so the page can say when a period reaches past it.intgetTopN()How many rows each ranking shows, for the page's script too.booleanWhether the current user may trigger a build history import.Convert job full name to Jenkins URL path for drill-down links.static DoraCalculator.DoraMetricorNotAvailable(String name, Supplier<DoraCalculator.DoraMetric> metric) The metric, or N/A when it cannot be worked out.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.RootAction
getBadge, isPrimaryAction
-
Constructor Details
-
DoraDashboardAction
public DoraDashboardAction()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
isCanImport
public boolean isCanImport()Whether the current user may trigger a build history import. Used by index.jelly. -
getDeploymentFrequency
-
getLeadTime
-
getMttr
-
getChangeFailureRate
-
orNotAvailable
public static DoraCalculator.DoraMetric orNotAvailable(String name, Supplier<DoraCalculator.DoraMetric> metric) The metric, or N/A when it cannot be worked out. The page still renders, and the reason goes to the log rather than nowhere. -
getSlowestPipelines
-
getMostFailingPipelines
-
getMostImprovedPipelines
-
getFlakiestPipelines
-
getSlowestStages
-
getMostFailingStages
-
jobUrl
Convert job full name to Jenkins URL path for drill-down links. e.g. "production/api-gateway" -> "job/production/job/api-gateway" -
getTopN
public int getTopN()How many rows each ranking shows, for the page's script too. -
getRetentionDays
public int getRetentionDays()How many days of builds are kept, so the page can say when a period reaches past it.
-