| funcs = evaluate readTrusted( 'TestON/JenkinsFile/JenkinsCommonFuncs.groovy' ) |
| nodeCluster = params.NodeCluster |
| funcs.initializeTrend( nodeCluster ); |
| if( nodeCluster == "Fabric" ) |
| funcs.additionalInitForSR( params.ONOSbranch ) |
| prop = funcs.getProperties() |
| prop[ "ONOSBranch" ] = params.ONOSbranch |
| graph_generator_file = "~/OnosSystemTest/TestON/JenkinsFile/scripts/testCaseGraphGenerator.R" |
| graph_saved_directory = "/var/jenkins/workspace/postjob-" + nodeCluster + ( nodeCluster == "Fabric" ? funcs.fabricOn( prop[ "ONOSBranch" ] ) : "" ) + "/" |
| testsToRun = funcs.getTestsToRun( Tests ) |
| for( String test : testsToRun ){ |
| tests[ test ] = funcs.runTest( test, true, prop, test, true, [], graph_generator_file, graph_saved_directory ) |
| for ( test in tests.keySet() ){ |