Improving timestamps of OnosSystemTest wiki graphs
Change-Id: I593e50506932d8ddacfff76a1feceb8ef2c1ca67
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFmastershipFailoverLat.R b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFmastershipFailoverLat.R
index c6e3503..2eb4145 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFmastershipFailoverLat.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFmastershipFailoverLat.R
@@ -115,6 +115,8 @@
print( "STEP 2: Organize Data." )
print( "**********************************************************" )
+latestBuildDate <- fileData$date[1]
+
# ------------
# Data Sorting
# ------------
@@ -209,7 +211,7 @@
print( "Generating fundamental graph data for the error bar graph." )
-title <- labs( title = chartTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = chartTitle, subtitle = lastUpdatedLabel( latestBuildDate ) )
fundamentalGraphData <- mainPlot +
xScaleConfig +
@@ -262,7 +264,7 @@
print( "Generating fundamental graph data for the stacked bar graph." )
-title <- labs( title = chartTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = chartTitle, subtitle = lastUpdatedLabel( latestBuildDate ) )
fundamentalGraphData <- mainPlot +
xScaleConfig +