Skip to content

Latest commit

 

History

History
80 lines (50 loc) · 2.38 KB

50-graphs.md

File metadata and controls

80 lines (50 loc) · 2.38 KB

Creating and customizing graphs with Asqatasun-Jenkins-Plugin

Reminder: Plot plugin must have been installed.

Metrics available for graphs

Asqatasun-Jenkins-plugin exposes various metrics that can be graphed.

  • asqatasun-mark.properties: the score (Asqatasun Meter), percentage value
  • asqatasun-passed.properties: number of Passed tests, absolute value
  • asqatasun-failed.properties: number of Failed tests, absolute value
  • asqatasun-failedOccurences.properties: total number of occurrences of Failed over all tests
  • asqatasun-nmi.properties: number of Pre-Qualified tests, absolute value
  • asqatasun-na.properties: number of Not Applicable tests, absolute value
  • asqatasun-nt.properties: number of Not Tested tests, absolute value

Create a graph

From the item page, go to Configure, Add post-build action and choose Plot build data.



Customize the graph

Fill in the following fields:

  • Plot group: give a name, let say Asqatasun
  • Plot title: let say Asqatasun Meter trend
  • Plot style: let choose Line. Other styles are available:
    • Area
    • Bar
    • Bar 3D
    • Line
    • Line 3D
    • Stacked Area
    • Stacked Bar
    • Stacked Bar 3D
    • Waterfall
  • Data series file: choose one of the Metrics available for graphs, let say asqatasun-mark.properties
  • Data series legend label: let say Asqatasun Meter

Save, have some build done and view the graph.

View graphs

To view the graphs, from the an Item page, click on the Plots links

Different metrics on the same graph

When creating a graph, add several data series. For example, to graph the number of Passed, Failed and Failed occurrences, add three data series.

Example of graphs

Graphs generated by Jenkins

@@@TODO update image


Same Asqatasun Meter trend graph from Asqatasun interface

@@@TODO update image