| * https://issues.jenkins-ci.org/browse/JENKINS-26481 |
| * fix groovy List.collect() |
| def constructString(ArrayList options, String keyOption, String separator = " ") { |
| return options.collect { keyOption + it }.join(separator).replaceAll("\n", "") |
| * Generate current timestamp |
| * @param format Defaults to yyyyMMddHHmmss |
| def getDatetime(format = "yyyyMMddHHmmss") { |
| return now.format(format, TimeZone.getTimeZone('UTC')); |
| * Run tox with or without specified environment |
| * @param env String, name of environment |
| def runTox(String env = null) { |