blob: 70b0fe020be83f3e2e67bbc48339c59734bf2818 [file] [log] [blame]
Devin Lim61643762017-12-07 15:55:38 -08001#!groovy
2
3def database_command_create( pass, host, port, user ){
4 return pass + "|psql --host=" + host + " --port=" + port + " --username=" + user + " --password --dbname onostest -c "
5}
6def basicGraphPart( rFileName, host, port, user, pass, subject, branchName ){
7 return " Rscript " + rFileName + " " + host + " " + port + " " + user + " " + pass + " " + subject + " " + branchName
8}
9def initBasicVars(){
10 rScriptLocation = "~/OnosSystemTest/TestON/JenkinsFile/scripts/"
11}
12def getTestList( tests ){
13 list = ""
14 for( String test : tests.keySet() )
15 list += test + ","
16 return list[ 0..-2 ]
17}
18return this;