Merge "Sync bmv2.py mininet files with onos branch."
diff --git a/TestON/JenkinsFile/MasterTrigger.groovy b/TestON/JenkinsFile/MasterTrigger.groovy
index 01ceb6a..1622a95 100644
--- a/TestON/JenkinsFile/MasterTrigger.groovy
+++ b/TestON/JenkinsFile/MasterTrigger.groovy
@@ -366,7 +366,7 @@
env
''' + preSetup( onos_branch, test_branch, onos_tag, manuallyRun, category ), label: "Repo Setup", returnStdout: false
if ( category != "MO" ){
- sh script: postSetup( onos_branch, test_branch, onos_tag, manuallyRun ), label: "Install Bazel", returnStdout: false
+ //sh script: postSetup( onos_branch, test_branch, onos_tag, manuallyRun ), label: "Install Bazel", returnStdout: false
generateKey()
}
}
diff --git a/TestON/JenkinsFile/dependencies/PerformanceFuncs.groovy b/TestON/JenkinsFile/dependencies/PerformanceFuncs.groovy
index fd70fcc..577377e 100644
--- a/TestON/JenkinsFile/dependencies/PerformanceFuncs.groovy
+++ b/TestON/JenkinsFile/dependencies/PerformanceFuncs.groovy
@@ -282,7 +282,7 @@
branchName ) +
" " + 50 + " \"SELECT " +
checkIfList( testName, 'dbCols', i ) +
- ", build FROM " + SCPF[ testName ][ 'table' ] + " WHERE branch=\'" + branchName + "\' " +
+ ", date, build FROM " + SCPF[ testName ][ 'table' ] + " WHERE branch=\'" + branchName + "\' " +
sqlOldFlow( isOldFlow, testName ) +
checkIfList( testName, 'dbWhere', i ) +
" ORDER BY date DESC LIMIT 50\" \"" +
diff --git a/TestON/JenkinsFile/dependencies/schedule.json b/TestON/JenkinsFile/dependencies/schedule.json
index c70fe45..5193b1e 100644
--- a/TestON/JenkinsFile/dependencies/schedule.json
+++ b/TestON/JenkinsFile/dependencies/schedule.json
@@ -17,5 +17,8 @@
"onos-2.x_schedule": [ "sun" ],
"USECASE_master": [ "tue" ],
"SR_schedule": [ "sun", "mon", "tue", "wed", "thu", "sat" ],
+ "SR_1.x_schedule": [ "mon", "thu" ],
+ "SR_2.x_schedule": [ "tue", "sat" ],
+ "SR_master_schedule": [ "wed", "sun" ],
"none": []
}
diff --git a/TestON/JenkinsFile/dependencies/tests.json b/TestON/JenkinsFile/dependencies/tests.json
index 14720ad..56ada41 100644
--- a/TestON/JenkinsFile/dependencies/tests.json
+++ b/TestON/JenkinsFile/dependencies/tests.json
@@ -785,17 +785,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -808,17 +808,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -831,17 +831,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -854,17 +854,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -877,17 +877,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -1062,17 +1062,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -1085,17 +1085,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -1109,17 +1109,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -1133,17 +1133,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -1229,17 +1229,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -1253,17 +1253,17 @@
"schedules": [
{
"branch": "master",
- "day": "SR_schedule",
+ "day": "SR_master_schedule",
"nodeLabel": "Fabric-master"
},
{
"branch": "onos-1.x",
- "day": "SR_schedule",
+ "day": "SR_1.x_schedule",
"nodeLabel": "Fabric-1.x"
},
{
"branch": "onos-2.x",
- "day": "SR_schedule",
+ "day": "SR_2.x_schedule",
"nodeLabel": "Fabric-2.x"
}
],
@@ -1449,8 +1449,8 @@
"category": "USECASE",
"supportedBranches": [ "all" ]
},
- "MOmakeBuild": {
- "wikiName": "Micro ONOS Integration Tests",
+ "MOatomix": {
+ "wikiName": "onit run suite atomix",
"schedules" : [
{
"branch": "master",
@@ -1461,8 +1461,8 @@
"category": "MO",
"supportedBranches": [ "all" ]
},
- "MOmakeIntegration": {
- "wikiName": "Micro ONOS Integration Tests",
+ "MOalltests": {
+ "wikiName": "onit run suite alltests",
"schedules" : [
{
"branch": "master",
@@ -1473,92 +1473,8 @@
"category": "MO",
"supportedBranches": [ "all" ]
},
- "MOmakeCoverage": {
- "wikiName": "Micro ONOS Integration Tests",
- "schedules" : [
- {
- "branch": "master",
- "day": "everyday",
- "nodeLabel": "micro-onos"
- }
- ],
- "category": "MO",
- "supportedBranches": [ "all" ]
- },
- "MOmakeDeps": {
- "wikiName": "Micro ONOS Integration Tests",
- "schedules" : [
- {
- "branch": "master",
- "day": "everyday",
- "nodeLabel": "micro-onos"
- }
- ],
- "category": "MO",
- "supportedBranches": [ "all" ]
- },
- "MOmakeImages": {
- "wikiName": "Micro ONOS Integration Tests",
- "schedules" : [
- {
- "branch": "master",
- "day": "everyday",
- "nodeLabel": "micro-onos"
- }
- ],
- "category": "MO",
- "supportedBranches": [ "all" ]
- },
- "MOmakeKind": {
- "wikiName": "Micro ONOS Integration Tests",
- "schedules" : [
- {
- "branch": "master",
- "day": "everyday",
- "nodeLabel": "micro-onos"
- }
- ],
- "category": "MO",
- "supportedBranches": [ "all" ]
- },
- "MOmakeLicense_check": {
- "wikiName": "Micro ONOS Integration Tests",
- "schedules" : [
- {
- "branch": "master",
- "day": "everyday",
- "nodeLabel": "micro-onos"
- }
- ],
- "category": "MO",
- "supportedBranches": [ "all" ]
- },
- "MOmakeLinters": {
- "wikiName": "Micro ONOS Integration Tests",
- "schedules" : [
- {
- "branch": "master",
- "day": "everyday",
- "nodeLabel": "micro-onos"
- }
- ],
- "category": "MO",
- "supportedBranches": [ "all" ]
- },
- "MOmakeONOS-Test-Runner-Docker": {
- "wikiName": "Micro ONOS Integration Tests",
- "schedules" : [
- {
- "branch": "master",
- "day": "everyday",
- "nodeLabel": "micro-onos"
- }
- ],
- "category": "MO",
- "supportedBranches": [ "all" ]
- },
- "MOmakeTest": {
- "wikiName": "Micro ONOS Integration Tests",
+ "MOintegration-tests": {
+ "wikiName": "onit run suite integration-tests",
"schedules" : [
{
"branch": "master",
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFbatchFlowResp.R b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFbatchFlowResp.R
index 66dc505..1bcf551 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFbatchFlowResp.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFbatchFlowResp.R
@@ -129,6 +129,8 @@
print( "STEP 2: Organize Data." )
print( "**********************************************************" )
+latestBuildDate <- fileData$date[1]
+
# -----------------
# Post Data Sorting
# -----------------
@@ -270,7 +272,7 @@
xScaleConfig <- scale_x_continuous( breaks = postDataFrame$iterative,
label = postDataFrame$date )
-title <- labs( title = postChartTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = postChartTitle, subtitle = lastUpdatedLabel( latestBuildDate ) )
fundamentalGraphData <- mainPlot +
xScaleConfig +
@@ -329,7 +331,7 @@
xScaleConfig <- scale_x_continuous( breaks = delDataFrame$iterative,
label = delDataFrame$date )
-title <- labs( title = delChartTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = delChartTitle, subtitle = lastUpdatedLabel( latestBuildDate ) )
fundamentalGraphData <- mainPlot +
xScaleConfig +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFcbench.R b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFcbench.R
index 7e8e8c2..940a14b 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFcbench.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFcbench.R
@@ -106,6 +106,8 @@
print( "STEP 2: Organize Data." )
print( "**********************************************************" )
+latestBuildDate <- fileData$date[1]
+
# ------------
# Data Sorting
# ------------
@@ -187,7 +189,7 @@
theme <- graphTheme()
-title <- labs( title = chartTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = chartTitle, subtitle = lastUpdatedLabel( latestBuildDate ) )
fundamentalGraphData <- mainPlot +
xScaleConfig +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFhostLat.R b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFhostLat.R
index b34010a..b82f255 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFhostLat.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFhostLat.R
@@ -107,6 +107,8 @@
print( "STEP 2: Organize Data." )
print( "**********************************************************" )
+latestBuildDate <- fileData$date[1]
+
# ------------
# Data Sorting
# ------------
@@ -185,7 +187,7 @@
theme <- graphTheme()
-title <- labs( title = chartTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = chartTitle, subtitle = lastUpdatedLabel( latestBuildDate ) )
errorBarColor <- rgb( 140, 140, 140, maxColorValue = 255 )
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 +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFportLat.R b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFportLat.R
index dd3d95d..6311df7 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFportLat.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFportLat.R
@@ -110,6 +110,8 @@
print( "STEP 2: Organize Data." )
print( "**********************************************************" )
+latestBuildDate <- fileData$date[1]
+
# -----------------------------
# Port Up Averages Data Sorting
# -----------------------------
@@ -233,7 +235,7 @@
theme <- graphTheme()
-subtitle <- lastUpdatedLabel()
+subtitle <- lastUpdatedLabel( latestBuildDate )
colors <- scale_fill_manual( values=c( webColor( "redv2" ),
webColor( "light_blue" ),
@@ -259,7 +261,7 @@
print( "Generating fundamental graph data (Port Up Latency)." )
-title <- labs( title = "Port Up Latency", subtitle = lastUpdatedLabel() )
+title <- labs( title = "Port Up Latency", subtitle = lastUpdatedLabel( latestBuildDate ) )
fundamentalGraphData <- mainPlot +
xScaleConfig +
@@ -321,7 +323,7 @@
print( "Generating fundamental graph data (Port Down Latency)." )
-title <- labs( title = "Port Down Latency", subtitle = lastUpdatedLabel() )
+title <- labs( title = "Port Down Latency", subtitle = lastUpdatedLabel( latestBuildDate ) )
fundamentalGraphData <- mainPlot +
xScaleConfig +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFscaleTopo.R b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFscaleTopo.R
index 0a03b3a..7684a5f 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFscaleTopo.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFscaleTopo.R
@@ -108,6 +108,8 @@
print( "STEP 2: Organize Data." )
print( "**********************************************************" )
+latestBuildDate <- fileData$date[1]
+
# ------------
# Data Sorting
# ------------
@@ -205,7 +207,7 @@
wrapLegend <- guides( fill = guide_legend( nrow=2, byrow=TRUE ) )
-title <- labs( title = chartTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = chartTitle, subtitle = lastUpdatedLabel( latestBuildDate ) )
# Store plot configurations as 1 variable
fundamentalGraphData <- mainPlot +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFswitchLat.R b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFswitchLat.R
index 8082c4a..679d205 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFswitchLat.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/SCPFspecificGraphRScripts/SCPFswitchLat.R
@@ -110,6 +110,8 @@
print( "STEP 2: Organize Data." )
print( "**********************************************************" )
+latestBuildDate <- fileData$date[1]
+
# -------------------------------
# Switch Up Averages Data Sorting
# -------------------------------
@@ -234,7 +236,7 @@
theme <- graphTheme()
-subtitle <- lastUpdatedLabel()
+subtitle <- lastUpdatedLabel( latestBuildDate )
colors <- scale_fill_manual( values=c( webColor( "redv2" ),
webColor( "light_blue" ),
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/dependencies/fundamentalGraphData.R b/TestON/JenkinsFile/wikiGraphRScripts/dependencies/fundamentalGraphData.R
index 820c538..4ec580f 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/dependencies/fundamentalGraphData.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/dependencies/fundamentalGraphData.R
@@ -51,10 +51,10 @@
guides( color = guide_legend( nrow = 2, byrow = byrow ) )
}
-lastUpdatedLabel <- function(){
- paste( "Last Updated: ", format( Sys.time(), format = "%b %d, %Y at %I:%M %p %Z" ), sep="" )
+lastUpdatedLabel <- function( latestBuildDate ){
+ paste( "Last Updated: ", format( latestBuildDate, "%b %d, %Y at %I:%M %p %Z" ), sep="" )
}
defaultTextSize <- function(){
theme_set( theme_grey( base_size = 26 ) ) # set the default text size of the graph.
-}
\ No newline at end of file
+}
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/histogramMultipleTestGroups.R b/TestON/JenkinsFile/wikiGraphRScripts/histogramMultipleTestGroups.R
index 78c3fe0..ef2d153 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/histogramMultipleTestGroups.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/histogramMultipleTestGroups.R
@@ -269,7 +269,7 @@
theme <- graphTheme() + theme( axis.text.x = element_text( angle = 0, size = 25 - 1.25 * length( dbResults ) ) )
-title <- labs( title = title, subtitle = lastUpdatedLabel() )
+title <- labs( title = title, subtitle = lastUpdatedLabel( Sys.time() ) )
# Store plot configurations as 1 variable
fundamentalGraphData <- mainPlot +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/pieMultipleTests.R b/TestON/JenkinsFile/wikiGraphRScripts/pieMultipleTests.R
index 46f671f..2b430ea 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/pieMultipleTests.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/pieMultipleTests.R
@@ -243,7 +243,7 @@
panel.grid=element_blank(),
legend.position = "bottom" )
-title <- labs( title = title, subtitle = lastUpdatedLabel() )
+title <- labs( title = title, subtitle = lastUpdatedLabel( Sys.time() ) )
# Store plot configurations as 1 variable
fundamentalGraphData <- mainPlot +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/trendCHO.R b/TestON/JenkinsFile/wikiGraphRScripts/trendCHO.R
index b1ef7a7..3b1ac6c 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/trendCHO.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/trendCHO.R
@@ -453,7 +453,7 @@
"ONOS Up" )
)
-title <- labs( title = eventsTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = eventsTitle, subtitle = lastUpdatedLabel( Sys.time() ) )
result <- eventsPlot +
xScaleConfig +
@@ -496,7 +496,7 @@
"ONOS Check Failure" )
)
-title <- labs( title = failedChecksTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = failedChecksTitle, subtitle = lastUpdatedLabel( Sys.time() ) )
result <- failuresPlot +
xScaleConfig +
@@ -538,7 +538,7 @@
"Exceptions" )
)
-title <- labs( title = errorsTitle, subtitle = lastUpdatedLabel() )
+title <- labs( title = errorsTitle, subtitle = lastUpdatedLabel( Sys.time() ) )
result <- errorsPlot +
xScaleConfig +
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 +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/trendMultipleTests.R b/TestON/JenkinsFile/wikiGraphRScripts/trendMultipleTests.R
index f85477b..ebe5c43 100644
--- a/TestON/JenkinsFile/wikiGraphRScripts/trendMultipleTests.R
+++ b/TestON/JenkinsFile/wikiGraphRScripts/trendMultipleTests.R
@@ -222,7 +222,7 @@
theme <- graphTheme()
-title <- labs( title = title, subtitle = lastUpdatedLabel() )
+title <- labs( title = title, subtitle = lastUpdatedLabel( Sys.time() ) )
# Store plot configurations as 1 variable
fundamentalGraphData <- mainPlot +
diff --git a/TestON/JenkinsFile/wikiGraphRScripts/trendSCPF.R b/TestON/JenkinsFile/wikiGraphRScripts/trendSCPF.R
index b677123..ef2f16b 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." )
@@ -207,7 +209,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.