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