Improving timestamps of OnosSystemTest wiki graphs
Change-Id: I593e50506932d8ddacfff76a1feceb8ef2c1ca67
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/trendIndividualTest.R b/TestON/JenkinsFile/wikiGraphRScripts/trendIndividualTest.R
index 93d58ed..5cc5c35 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/trendIndividualTest.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/trendIndividualTest.R
@@ -143,6 +143,8 @@
print( "Constructing data frame from combined data." )
+latestBuildDate <- fileData$date[1]
+
dataFrame <- melt( categories )
# Rename column names in dataFrame
@@ -238,7 +240,7 @@
"Passed Cases",
"Planned Cases" ) )
-title <- labs( title = title, subtitle = lastUpdatedLabel() )
+title <- labs( title = title, subtitle = lastUpdatedLabel( latestBuildDate ) )
# Store plot configurations as 1 variable
fundamentalGraphData <- mainPlot +