blob: a0c70c90c82d97af8399fd3c445aa96f758645bc [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}
Devin Lim61643762017-12-07 15:55:38 -08009def getTestList( tests ){
10 list = ""
11 for( String test : tests.keySet() )
12 list += test + ","
13 return list[ 0..-2 ]
14}
Devin Limfe9a4cb2018-05-11 17:06:21 -070015return this;