Improving timestamps of OnosSystemTest wiki graphs
Change-Id: I593e50506932d8ddacfff76a1feceb8ef2c1ca67
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/trendSCPF.R b/TestON/JenkinsFile/wikiGraphRScripts/trendSCPF.R
index 0a4968a..40a20f4 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/trendSCPF.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/trendSCPF.R
@@ -112,6 +112,8 @@
print( "STEP 2: Organize Data." )
print( "**********************************************************" )
+latestBuildDate <- fileData$date[1]
+
# Create lists c() and organize data into their corresponding list.
print( "Combine data retrieved from databases into a list." )
@@ -206,7 +208,7 @@
# Set other graph configurations here.
theme <- graphTheme()
-title <- labs( title = title, subtitle = lastUpdatedLabel() )
+title <- labs( title = title, subtitle = lastUpdatedLabel( latestBuildDate ) )
# Colors used for the lines.
# Note: graphs that have X lines will use the first X colors in this list.