blob: 58e600bb32ad4c6db9a20e433ae70cd3fa0b53dd [file] [log] [blame]
Devin Lim61643762017-12-07 15:55:38 -08001#!groovy
2funcs = evaluate readTrusted( 'JenkinsCommonFuncs.groovy' )
3//generalFuncs = evaluate readTrusted( 'GeneralFuncs.groovy' )
4nodeCluster = params.NodeCluster
5
6graph_generator_file = "~/OnosSystemTest/TestON/JenkinsFile/scripts/testCaseGraphGenerator.R"
7graph_saved_directory = "/var/jenkins/workspace/postjob-" + nodeCluster + "/"
8
9funcs.initializeTrend( nodeCluster );
10def prop = null
11prop = funcs.getProperties()
12
13def Tests = params.Test
14prop[ "ONOSBranch" ] = params.ONOSbranch
15
16def testsToRun = null
17testsToRun = funcs.getTestsToRun( Tests )
18
19def tests = [:]
20for( String test : testsToRun ){
21 println test
22 tests[ test ] = funcs.runTest( test, true, prop, test, true, [], graph_generator_file, graph_saved_directory )
23}
24
25for ( test in tests.keySet() ){
26 tests[ test ].call()
27}