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