blob: f091c34500d2263bdfe0ecc557ff1ba977a15878 [file] [log] [blame]
#!groovy
funcs = evaluate readTrusted( 'TestON/JenkinsFile/JenkinsCommonFuncs.groovy' )
nodeCluster = params.NodeCluster
funcs.initializeTrend( nodeCluster );
def prop = null
prop = funcs.getProperties()
def Tests = params.Test
prop[ "ONOSBranch" ] = params.ONOSbranch
funcs.additionalInitForSR( prop[ "ONOSBranch" ] )
graph_generator_file = "~/OnosSystemTest/TestON/JenkinsFile/scripts/testCaseGraphGenerator.R"
graph_saved_directory = "/var/jenkins/workspace/postjob-" + nodeCluster + funcs.fabricOn( prop[ "ONOSBranch" ] ) + "/"
def testsToRun = null
testsToRun = funcs.getTestsToRun( Tests )
def tests = [:]
for( String test : testsToRun ){
println test
tests[ test ] = funcs.runTest( test, true, prop, test, true, [], graph_generator_file, graph_saved_directory )
}
for ( test in tests.keySet() ){
tests[ test ].call()
}