Fixing Jenkins Pipeline bugs

Change-Id: I83ad3c9a2fd20a7afd06e5daac74a12245bd1d02
diff --git a/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy b/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy
index 9437b61..eddb588 100644
--- a/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy
+++ b/TestON/JenkinsFile/dependencies/JenkinsCommonFuncs.groovy
@@ -323,7 +323,7 @@
             throw new Exception( "Abnormal test result." )
         }
         else {
-            print "Test results are normal."
+            print "Test results are OK."
         }
     }
 }
@@ -470,7 +470,7 @@
 }
 
 
-def generateOverallGraph( prop, testCategory, graph_saved_directory ){
+def generateOverallGraph( prop, tests, graph_saved_directory ){
     // generate the overall graph for the test
 
     if ( isPostingResult( prop[ "manualRun" ], prop[ "postResult" ] ) ){
@@ -481,7 +481,7 @@
                     string( credentialsId: 'db_user', variable: 'user' ),
                     string( credentialsId: 'db_host', variable: 'host' ),
                     string( credentialsId: 'db_port', variable: 'port' ) ] ) {
-                testList = generalFuncs.getTestList( testCategory )
+                testList = test_list.getTestListAsString( tests )
                 sh '''#!/bin/bash
                    ''' +
                    generalFuncs.basicGraphPart( trend_generator_file, host, port,