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 | } |
Devin Lim | 6164376 | 2017-12-07 15:55:38 -0800 | [diff] [blame] | 9 | def getTestList( tests ){ |
| 10 | list = "" |
| 11 | for( String test : tests.keySet() ) |
| 12 | list += test + "," |
| 13 | return list[ 0..-2 ] |
| 14 | } |
Devin Lim | fe9a4cb | 2018-05-11 17:06:21 -0700 | [diff] [blame] | 15 | return this; |