Change Jenkinsfile for CHO graph
Change-Id: I95924a16bb949ec09696ebc0370b62e14106db64
diff --git a/TestON/JenkinsFile/CHO_Graph_Generator b/TestON/JenkinsFile/CHO_Graph_Generator
index 1ed8eb6..a16bf00 100644
--- a/TestON/JenkinsFile/CHO_Graph_Generator
+++ b/TestON/JenkinsFile/CHO_Graph_Generator
@@ -3,6 +3,7 @@
fileRelated.init()
branches = params.ONOSbranch
+hours = params.hours
branchList = branches.tokenize( "\n;, " )
script_file = fileRelated.trendCHO
saving_directory = fileRelated.jenkinsWorkspace + "postjob-Fabric5/"
@@ -32,7 +33,7 @@
bash log-summary;''' + '''
Rscript ''' + script_file + ' ' + branchDir + 'event.csv ' +
branchDir + 'failure.csv ' + branchDir + 'error.csv ' +
- branch + ' 60 ' + saving_directory + ''';
+ branch + ' 60 ' + hours + ' ' + saving_directory + ''';
'''
print( graphScript )
}