diff options
author | Matt Rendina <rendinam@users.noreply.github.com> | 2019-07-03 12:29:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 12:29:40 -0400 |
commit | 3df6bdd59d41375290991963df25583a84e7db65 (patch) | |
tree | 860deb92c1645ae5974b2f2a9bb5427a70bca3bd | |
parent | 823b70dd375ca29becf4f65a69e45c1f7910c425 (diff) | |
download | jscu_refactor-3df6bdd59d41375290991963df25583a84e7db65.tar.gz |
Add missing day of week in default scheduling list; expand related docs (#59)1.3.22
* Add missing day of week in default list.
* Edit day of week docs
-rw-r--r-- | Jenkinsfile | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/BuildConfig.groovy | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index a35f257..16f68d8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ -//@Library('utils@sedtest') _ +//@Library('utils@dayfix') _ // [skip ci] and [ci skip] have no effect here. if (utils.scm_checkout(['skip_disable':true])) return @@ -114,7 +114,7 @@ It has the following properties: | --- | --- | --- | --- | | `nodetype` | string | yes | The Jenkins node label to which the build is assigned | | `name` | string | yes | A (short) arbitrary name/description of the build configuration. Builds are named `<nodetype>/<name>` in the build status GUI. I.e. "linux/stable" or "linux/debug" | -| `run_on_days` | list of strings | no | (When absent, default behavior is to always run the BuildConfig.) Primarily for periodic regression test (RT) job use. A list of day-of-week names on which to execute the associated BuildConfig. Example: `bc0.run_on_days = ['sat', 'sun']` to only run the BuildConfig on those two days. | +| `run_on_days` | list of strings | no | (When absent, default behavior is to always run the BuildConfig.) Primarily for periodic regression test (RT) job use. A list of day-of-week names on which to execute the associated BuildConfig. Example: `bc0.run_on_days = ['sat', 'sun']` to only run the BuildConfig on those two days. Valid day names are `sun`, `mon`, `tue`, `wed`, `thu`, `fri`, `sat`.| | `conda_packages` | list of strings | no | If this list is defined, the associated build job will create a temporary conda environment to host the job which contains the packages specified. Package specifications are of the form <ul><li> `<package_name>` </li><li> `<package_name>=<version>` </li></ul> Example: `bc0.conda_packages = ["pytest", "requests", "numpy=1.14.3"]` | | `conda_override_channels` | boolean | no | Instructs the conda environment creation process to not implicitly prepend the anaconda defaults channel to the list of channels used. This allows the priority of channels to be used for environment creation to be specified exactly in the order of channels provided in the `conda_channels` list, described below. If `conda_packages` is not defined in the Jenkinsfile this property is ignored. | | `conda_channels` | list of strings | no | The list of channels, in order of search priority, to use when retrieving packages for installation. If `conda_override_channels` is not defined, this list will have the conda `defaults` channel implicitly prepended to it at installation time. If `conda_packages` is not defined in the Jenkinsfile this property is ignored. Example: `bc0.conda_channels = ["http://ssb.stsci.edu/astroconda"]` | diff --git a/src/BuildConfig.groovy b/src/BuildConfig.groovy index 9bae307..0b3cc06 100644 --- a/src/BuildConfig.groovy +++ b/src/BuildConfig.groovy @@ -25,8 +25,9 @@ class BuildConfig implements Serializable { def skippedUnstableNewThresh = '' def skippedUnstableThresh= '' - // Scheduling - def run_on_days = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri'] + // Scheduling - default behavior is to not restrict run schedule based on + // the day of the week. + def run_on_days = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'] // Private. Not to be used directly by Jenkinsfile. def runtime = [] |