aboutsummaryrefslogtreecommitdiff
path: root/src/BuildConfig.groovy
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2019-06-28 12:51:46 -0400
committerGitHub <noreply@github.com>2019-06-28 12:51:46 -0400
commitf6e97c1614c271093a6bc11eb4a37b4a9915cd3b (patch)
tree660c6bb079cddd7d4392ce3718beb04e3da91c9f /src/BuildConfig.groovy
parent0576b7bcd04327acb3d082a71f7aaf5fef484488 (diff)
downloadjscu_refactor-f6e97c1614c271093a6bc11eb4a37b4a9915cd3b.tar.gz
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
Diffstat (limited to 'src/BuildConfig.groovy')
-rw-r--r--src/BuildConfig.groovy3
1 files changed, 3 insertions, 0 deletions
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 = []