From f6e97c1614c271093a6bc11eb4a37b4a9915cd3b Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Fri, 28 Jun 2019 12:51:46 -0400 Subject: Allow filtering of BuildConfigs based on day-of-week specification. (#57) * Filter out BuildConfigs based on day-of-week specification. * Support human-friendly day names * Perform day-of-week filtering on BuildConfigs only. * Update docs --- src/BuildConfig.groovy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/BuildConfig.groovy b/src/BuildConfig.groovy index 67a97a5..9bae307 100644 --- a/src/BuildConfig.groovy +++ b/src/BuildConfig.groovy @@ -25,6 +25,9 @@ class BuildConfig implements Serializable { def skippedUnstableNewThresh = '' def skippedUnstableThresh= '' + // Scheduling + def run_on_days = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri'] + // Private. Not to be used directly by Jenkinsfile. def runtime = [] -- cgit