aboutsummaryrefslogtreecommitdiff
path: root/src/edu/stsci/jscu/BuildConfig.groovy
blob: c6cbd000b25c83bba3ded4e6ac52d12944baf844 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// src/BuildConfig.groovy
package edu.stsci.jscu

class BuildConfig implements Serializable {
    def nodetype = ""
    def name = ""

    def conda_packages = []
    def conda_override_channels = false
    def conda_channels = []
    def conda_ver = null

    def env_vars = []
    def env_vars_raw = []
    def build_cmds = []
    def test_cmds = []
    def test_configs = []

    def failedFailureNewThresh = ''
    def failedFailureThresh = ''
    def failedUnstableNewThresh = ''
    def failedUnstableThresh= '0'

    def skippedFailureNewThresh = ''
    def skippedFailureThresh = ''
    def skippedUnstableNewThresh = ''
    def skippedUnstableThresh= ''

    // 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 = []

    // Constructors
    BuildConfig() {
        this.nodetype = ""
    }
}


class testInfo implements Serializable {
    def problems = false
    def subject = ""
    def message = ""
}