aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_CPTA.py3
-rw-r--r--resources/tools/presentation/specification_CPTA.yaml2
2 files changed, 4 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py
index 69c52d4180..9cce8ed8b2 100644
--- a/resources/tools/presentation/generator_CPTA.py
+++ b/resources/tools/presentation/generator_CPTA.py
@@ -365,6 +365,7 @@ def _generate_all_charts(spec, input_data):
csv_table = list()
# Create the header:
builds = spec.cpta["data"].values()[0]
+ job_name = spec.cpta["data"].keys()[0]
builds_lst = [str(build) for build in range(builds[0], builds[-1] + 1)]
header = "Build Number:," + ",".join(builds_lst) + '\n'
csv_table.append(header)
@@ -424,6 +425,8 @@ def _generate_all_charts(spec, input_data):
idx += 1
# Generate the chart:
+ chart["layout"]["xaxis"]["title"] = \
+ chart["layout"]["xaxis"]["title"].format(job=job_name)
_generate_chart(traces,
chart["layout"],
file_name="{0}-{1}-{2}{3}".format(
diff --git a/resources/tools/presentation/specification_CPTA.yaml b/resources/tools/presentation/specification_CPTA.yaml
index f5097fc782..e1b80351b2 100644
--- a/resources/tools/presentation/specification_CPTA.yaml
+++ b/resources/tools/presentation/specification_CPTA.yaml
@@ -102,7 +102,7 @@
showgrid: True
xaxis:
showticklabels: True
- title: "VPP Performance Trending Job ID"
+ title: "/csit/job/{job}/$id"
autorange: True
showgrid: True
gridcolor: "rgb(238, 238, 238)"