Linux Foundation Administrators | 14b8edb | 2018-01-25 13:00:42 -0800 | [diff] [blame] | 1 | --- |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 2 | # CORD GLOBAL jenkins job builder (JJB) defaults |
Linux Foundation Administrators | 14b8edb | 2018-01-25 13:00:42 -0800 | [diff] [blame] | 3 | |
| 4 | - defaults: |
| 5 | name: global |
| 6 | |
| 7 | # lftools |
| 8 | lftools-version: <1.0.0 |
| 9 | |
Zack Williams | 8e69efd | 2018-06-13 15:05:18 -0700 | [diff] [blame] | 10 | # name of the SSH key to use in most cases |
Linux Foundation Administrators | 14b8edb | 2018-01-25 13:00:42 -0800 | [diff] [blame] | 11 | jenkins-ssh-credential: 'cord-jenkins-ssh' |
Zack Williams | 8e69efd | 2018-06-13 15:05:18 -0700 | [diff] [blame] | 12 | gerrit-ssh-credential: 'gerrit-jenkins-user' |
Linux Foundation Administrators | 14b8edb | 2018-01-25 13:00:42 -0800 | [diff] [blame] | 13 | |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 14 | # by default, don't depend on other jobs |
| 15 | dependency-jobs: '' |
Linux Foundation Administrators | 14b8edb | 2018-01-25 13:00:42 -0800 | [diff] [blame] | 16 | |
Zack Williams | 15a31c8 | 2018-08-29 15:10:03 -0700 | [diff] [blame] | 17 | # SCM checkout locations within Jenkins Workspace |
| 18 | destination-dir: '' |
| 19 | basedir: '' |
| 20 | |
Zack Williams | 9d68aa3 | 2018-07-12 11:50:37 -0700 | [diff] [blame] | 21 | # used to rename jobs if version/branch forking is required |
| 22 | name-extension: '' |
| 23 | |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 24 | # How long to keep builds and artifacts |
| 25 | build-days-to-keep: 60 |
| 26 | artifact-num-to-keep: 30 |
Zack Williams | ac98441 | 2018-04-04 15:39:45 -0700 | [diff] [blame] | 27 | |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 28 | # list of artifacts to archive |
Linux Foundation Administrators | 14b8edb | 2018-01-25 13:00:42 -0800 | [diff] [blame] | 29 | archive-artifacts: '' |
| 30 | |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 31 | # build timeout (minutes) |
| 32 | build-timeout: 10 |
Linux Foundation Administrators | 14b8edb | 2018-01-25 13:00:42 -0800 | [diff] [blame] | 33 | |
Zack Williams | 641d149 | 2018-08-17 13:31:53 -0700 | [diff] [blame] | 34 | # timed trigger defaults, crontab syntax |
| 35 | # H = random value hashed by name of job |
| 36 | every-hour: "H * * * *" |
| 37 | every-four-hours: "H */4 * * *" |
| 38 | every-six-hours: "H */6 * * *" |
| 39 | every-eight-hours: "H */8 * * *" |
| 40 | twice-a-day: "H */12 * * *" |
| 41 | once-a-day: "H 0 * * *" |
| 42 | |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 43 | # The most frequently used type of build node |
| 44 | # see other build node types under "Cloud > Amazon EC2" at |
Zack Williams | f4c9c40 | 2018-06-27 14:58:43 -0700 | [diff] [blame] | 45 | # https://jenkins.opencord.org/configure |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 46 | build-node: ubuntu16.04-basebuild-1c-1g |
Linux Foundation Administrators | 14b8edb | 2018-01-25 13:00:42 -0800 | [diff] [blame] | 47 | |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 48 | # CORD Gerrit server definition, set in configuration |
| 49 | gerrit-server-name: 'CORD Gerrit' |
| 50 | |
| 51 | # URL for Gerrit server, for use with `repo` |
Zack Williams | c27ca2d | 2018-04-11 13:16:45 -0700 | [diff] [blame] | 52 | gerrit-server-url: 'https://gerrit.opencord.org' |
Zack Williams | 7468c36 | 2018-04-06 09:52:30 -0700 | [diff] [blame] | 53 | |
| 54 | # name of the manifest git repos used with the `repo` cli tool |
| 55 | cord-repo-manifest: manifest.git |
| 56 | cordqa-manifest-repo: qa-manifest.git |
| 57 | |
Zack Williams | 5e09c95 | 2018-06-12 10:19:48 -0700 | [diff] [blame] | 58 | # default email address to send job failure messages |
| 59 | failure-email-address: 'cord-dev@opencord.org' |
| 60 | |
Zack Williams | c27ca2d | 2018-04-11 13:16:45 -0700 | [diff] [blame] | 61 | # regexp for gerrit triggers |
| 62 | # list of supported branches, for branch-regexp |
Zack Williams | 90cf9fd | 2018-05-11 10:26:21 -0700 | [diff] [blame] | 63 | supported-branches-regexp: '^(master|cord-6.0|cord-5.0|cord-4.1|cord-4.0)$' |
Kailash Khalasi | ca59055 | 2018-05-24 15:09:42 -0700 | [diff] [blame] | 64 | legacy-branches-regexp: '^(cord-5.0|cord-4.1|cord-4.0)$' |
Zack Williams | 90cf9fd | 2018-05-11 10:26:21 -0700 | [diff] [blame] | 65 | modern-branches-regexp: '^(master|cord-6.0)$' |
Zack Williams | ac98441 | 2018-04-04 15:39:45 -0700 | [diff] [blame] | 66 | |
Zack Williams | 5fee002 | 2018-06-11 14:42:54 -0700 | [diff] [blame] | 67 | # for matching repos that build docker images with imagebuilder |
Matteo Scandolo | dc91828 | 2018-09-14 10:58:43 -0700 | [diff] [blame] | 68 | 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|att-workflow-driver)$' |
Zack Williams | 5fee002 | 2018-06-11 14:42:54 -0700 | [diff] [blame] | 69 | |
Zack Williams | 6650000 | 2018-09-06 15:29:05 -0700 | [diff] [blame] | 70 | # strictness of version checks |
| 71 | semver-strict: 0 |
| 72 | |
Zack Williams | 07949bb | 2018-07-20 07:29:15 -0700 | [diff] [blame] | 73 | # matching repos that should be version tagged by the version-tag job |
| 74 | # (basically the same as imagebuilder projects + helm charts + tools |
Zack Williams | a9af8f0 | 2018-11-20 14:27:48 -0700 | [diff] [blame] | 75 | 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|att-workflow-driver|ves-agent|voltha-bbsim|openolt|sadis-server)$' |
Zack Williams | 07949bb | 2018-07-20 07:29:15 -0700 | [diff] [blame] | 76 | |
Zack Williams | c27ca2d | 2018-04-11 13:16:45 -0700 | [diff] [blame] | 77 | # for matching files with file-include-regexp |
| 78 | all-files-regexp: '.*' |
Kailash Khalasi | ca59055 | 2018-05-24 15:09:42 -0700 | [diff] [blame] | 79 | doc-files-regexp: '^docs/.*' |
Zack Williams | 90cf9fd | 2018-05-11 10:26:21 -0700 | [diff] [blame] | 80 | |
Kailash Khalasi | ca59055 | 2018-05-24 15:09:42 -0700 | [diff] [blame] | 81 | # Jenkins SSH host doc publisher |
| 82 | docs-ssh-host: 'guide.opencord.org' |
Zack Williams | 642e5f7 | 2018-06-05 13:24:13 -0700 | [diff] [blame] | 83 | docs-ssh-host-key: 'guide.opencord.org,52.9.82.207 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFHwOY3/8GucdKzBngH/FC08nHac/RJ/OheZp2+5EpOPXZG9zQW2YUbXH5A9pO76lI5CG3z3+huG62xEGo99UQU=' |
| 84 | |
Zack Williams | efc1cb9 | 2018-07-17 14:11:08 -0700 | [diff] [blame] | 85 | # For running Sonarqube configuration - see sonar.yaml for more info |
| 86 | sonar-prep-commands: '' |
| 87 | sonar-java-binaries: '' |
| 88 | |