blob: d4b42327db0e4f7b3aa37c809e5e0b373be2e3ac [file] [log] [blame]
Linux Foundation Administrators14b8edb2018-01-25 13:00:42 -08001---
Zack Williams7468c362018-04-06 09:52:30 -07002# CORD GLOBAL jenkins job builder (JJB) defaults
Linux Foundation Administrators14b8edb2018-01-25 13:00:42 -08003
4- defaults:
5 name: global
6
7 # lftools
8 lftools-version: <1.0.0
9
Zack Williams8e69efd2018-06-13 15:05:18 -070010 # name of the SSH key to use in most cases
Linux Foundation Administrators14b8edb2018-01-25 13:00:42 -080011 jenkins-ssh-credential: 'cord-jenkins-ssh'
Zack Williams8e69efd2018-06-13 15:05:18 -070012 gerrit-ssh-credential: 'gerrit-jenkins-user'
Linux Foundation Administrators14b8edb2018-01-25 13:00:42 -080013
Zack Williams7468c362018-04-06 09:52:30 -070014 # by default, don't depend on other jobs
15 dependency-jobs: ''
Linux Foundation Administrators14b8edb2018-01-25 13:00:42 -080016
Zack Williams9d68aa32018-07-12 11:50:37 -070017 # used to rename jobs if version/branch forking is required
18 name-extension: ''
19
Zack Williams7468c362018-04-06 09:52:30 -070020 # How long to keep builds and artifacts
21 build-days-to-keep: 60
22 artifact-num-to-keep: 30
Zack Williamsac984412018-04-04 15:39:45 -070023
Zack Williams7468c362018-04-06 09:52:30 -070024 # list of artifacts to archive
Linux Foundation Administrators14b8edb2018-01-25 13:00:42 -080025 archive-artifacts: ''
26
Zack Williams7468c362018-04-06 09:52:30 -070027 # build timeout (minutes)
28 build-timeout: 10
Linux Foundation Administrators14b8edb2018-01-25 13:00:42 -080029
Zack Williams641d1492018-08-17 13:31:53 -070030 # timed trigger defaults, crontab syntax
31 # H = random value hashed by name of job
32 every-hour: "H * * * *"
33 every-four-hours: "H */4 * * *"
34 every-six-hours: "H */6 * * *"
35 every-eight-hours: "H */8 * * *"
36 twice-a-day: "H */12 * * *"
37 once-a-day: "H 0 * * *"
38
Zack Williams7468c362018-04-06 09:52:30 -070039 # The most frequently used type of build node
40 # see other build node types under "Cloud > Amazon EC2" at
Zack Williamsf4c9c402018-06-27 14:58:43 -070041 # https://jenkins.opencord.org/configure
Zack Williams7468c362018-04-06 09:52:30 -070042 build-node: ubuntu16.04-basebuild-1c-1g
Linux Foundation Administrators14b8edb2018-01-25 13:00:42 -080043
Zack Williams7468c362018-04-06 09:52:30 -070044 # CORD Gerrit server definition, set in configuration
45 gerrit-server-name: 'CORD Gerrit'
46
47 # URL for Gerrit server, for use with `repo`
Zack Williamsc27ca2d2018-04-11 13:16:45 -070048 gerrit-server-url: 'https://gerrit.opencord.org'
Zack Williams7468c362018-04-06 09:52:30 -070049
50 # name of the manifest git repos used with the `repo` cli tool
51 cord-repo-manifest: manifest.git
52 cordqa-manifest-repo: qa-manifest.git
53
Zack Williams5e09c952018-06-12 10:19:48 -070054 # default email address to send job failure messages
55 failure-email-address: 'cord-dev@opencord.org'
56
Zack Williamsc27ca2d2018-04-11 13:16:45 -070057 # regexp for gerrit triggers
58 # list of supported branches, for branch-regexp
Zack Williams90cf9fd2018-05-11 10:26:21 -070059 supported-branches-regexp: '^(master|cord-6.0|cord-5.0|cord-4.1|cord-4.0)$'
Kailash Khalasica590552018-05-24 15:09:42 -070060 legacy-branches-regexp: '^(cord-5.0|cord-4.1|cord-4.0)$'
Zack Williams90cf9fd2018-05-11 10:26:21 -070061 modern-branches-regexp: '^(master|cord-6.0)$'
Zack Williamsac984412018-04-04 15:39:45 -070062
Zack Williams5fee0022018-06-11 14:42:54 -070063 # for matching repos that build docker images with imagebuilder
Zack Williams585f2ac2018-07-23 16:50:47 -070064 imagebuilder-projects-regexp: '^(xos.*|cord-tester|chameleon|rcord|mcord|ecord|acordion|addressmanager|epc-service|exampleservice|fabric|fabric-crossconnect|globalxos|hippie-oss|hss_db|hypercache|internetemulator|kubernetes-service|monitoring|olt-service|onos-service|openstack|progran|sdn-controller|simpleexampleservice|templateservice|vEE|vEG|vBBU|venb|vHSS|vMME|vnaas|vPGWC|vPGWU|vrouter|vsg|vsg-hw|vSGW|vSM|vspgwc|vspgwu|vtn-service|vtr)$'
Zack Williams5fee0022018-06-11 14:42:54 -070065
Zack Williams07949bb2018-07-20 07:29:15 -070066 # matching repos that should be version tagged by the version-tag job
67 # (basically the same as imagebuilder projects + helm charts + tools
Zack Williams585f2ac2018-07-23 16:50:47 -070068 version-tag-projects-regexp: '^(xos.*|helm-charts|automation-tools|cord-tester|chameleon|rcord|mcord|ecord|acordion|addressmanager|epc-service|exampleservice|fabric|fabric-crossconnect|globalxos|hippie-oss|hss_db|hypercache|internetemulator|kubernetes-service|monitoring|olt-service|onos-service|openstack|progran|sdn-controller|simpleexampleservice|templateservice|vEE|vEG|vBBU|venb|vHSS|vMME|vnaas|vPGWC|vPGWU|vrouter|vsg|vsg-hw|vSGW|vSM|vspgwc|vspgwu|vtn-service|vtr)$'
Zack Williams07949bb2018-07-20 07:29:15 -070069
Zack Williamsc27ca2d2018-04-11 13:16:45 -070070 # for matching files with file-include-regexp
71 all-files-regexp: '.*'
Kailash Khalasica590552018-05-24 15:09:42 -070072 doc-files-regexp: '^docs/.*'
Zack Williams90cf9fd2018-05-11 10:26:21 -070073
Kailash Khalasica590552018-05-24 15:09:42 -070074 # Jenkins SSH host doc publisher
75 docs-ssh-host: 'guide.opencord.org'
Zack Williams642e5f72018-06-05 13:24:13 -070076 docs-ssh-host-key: 'guide.opencord.org,52.9.82.207 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFHwOY3/8GucdKzBngH/FC08nHac/RJ/OheZp2+5EpOPXZG9zQW2YUbXH5A9pO76lI5CG3z3+huG62xEGo99UQU='
77
Zack Williamsefc1cb92018-07-17 14:11:08 -070078 # For running Sonarqube configuration - see sonar.yaml for more info
79 sonar-prep-commands: ''
80 sonar-java-binaries: ''
81