Run tests on QA-POD everyday

- Don't run some pipeline stages on Tofino hw jobs

Change-Id: Ida23938491293b4589edf71d41729d18f3002646
diff --git a/TestON/JenkinsFile/CommonJenkinsFile.groovy b/TestON/JenkinsFile/CommonJenkinsFile.groovy
index 0641558..d90151c 100644
--- a/TestON/JenkinsFile/CommonJenkinsFile.groovy
+++ b/TestON/JenkinsFile/CommonJenkinsFile.groovy
@@ -124,8 +124,10 @@
 
 def initGraphPaths(){
     graphPaths.put( "trendIndividual", fileRelated.rScriptPaths[ "scripts" ][ "trendIndividual" ] )
-    if ( category == "SR" || category == "SR-StratumBMv2" || category == "SR-Tofino" ){
+    if ( category == "SR" || category == "SR-StratumBMv2" ){
         graphPaths.put( "saveDirectory", fileRelated.workspaces[ "base" ] + "postjob-" + ( testStation - "TestStation-" - "s" ) + "/" )
+    } else if ( category == "SR-Tofino" ){
+        graphPaths.put( "saveDirectory", fileRelated.workspaces[ "QA-POD" ] )
     } else if ( category == "SRHA" ) {
         graphPaths.put( "saveDirectory", fileRelated.workspaces[ "Fabric" ] )
     } else if ( category == "SCPF" || category == "USECASE" ){
@@ -379,6 +381,7 @@
                     def workSpace = "/var/jenkins/workspace/" + JenkinsLabel
                     def fileContents = ""
                     testArguments = testCategory[ JenkinsLabel ].keySet().contains( "arguments" ) ? testCategory[ JenkinsLabel ][ "arguments" ] : ""
+                    isTofino = testCategory[ JenkinsLabel ][ "category" ] == "SR-Tofino"
                     node( testStation ) {
                         withEnv( [ 'ONOSBranch=' + prop[ "ONOSBranch" ],
                                    'ONOSJAVAOPTS=' + prop[ "ONOSJAVAOPTS" ],
@@ -391,13 +394,17 @@
                                     // Remove the old database file
                                     sh SCPFfuncs.cleanupDatabaseFile( JenkinsLabel )
                                 }
-                                sh script: configureJavaVersion(), label: "Configure Java Version"
-                                sh script: initTest(), label: "Test Initialization: stc shutdown; stc teardown; ./cleanup.sh"
+                                if ( !isTofino ) {
+                                    sh script: configureJavaVersion(), label: "Configure Java Version"
+                                    sh script: initTest(), label: "Test Initialization: stc shutdown; stc teardown; ./cleanup.sh"
+                                }
                                 catchError{
                                     sh script: runTestCli_py( TestONTest, testArguments ), label: ( "Run Test: ./cli.py run " + TestONTest + " " + testArguments )
                                 }
-                                catchError{
-                                    sh script: concludeRunTest(), label: "Conclude Running Test: ./cleanup.sh; git clean -df"
+                                if ( !isTofino ) {
+                                    catchError{
+                                        sh script: concludeRunTest(), label: "Conclude Running Test: ./cleanup.sh; git clean -df"
+                                    }
                                 }
                                 catchError{
                                     // For the Wiki page
diff --git a/TestON/JenkinsFile/dependencies/tests.json b/TestON/JenkinsFile/dependencies/tests.json
index 3dd3781..a465a26 100644
--- a/TestON/JenkinsFile/dependencies/tests.json
+++ b/TestON/JenkinsFile/dependencies/tests.json
@@ -1437,12 +1437,7 @@
         "schedules": [
             {
                 "branch": "master",
-                "day": "none",
-                "nodeLabel": "QA-POD"
-            },
-            {
-                "branch": "onos-LTS2",
-                "day": "none",
+                "day": "everyday",
                 "nodeLabel": "QA-POD"
             }
         ],