Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 1 | --- |
| 2 | # GLOBAL jenkins defaults |
| 3 | |
| 4 | - defaults: |
| 5 | name: global |
| 6 | |
Jessica Wagantall | b8204a1 | 2023-06-21 11:27:57 -0700 | [diff] [blame] | 7 | # General job settings |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 8 | build-days-to-keep: 30 |
| 9 | # the below discarder values are hard coded into the macro and are only here |
| 10 | # for documentation purposes |
| 11 | build-num-to-keep: 40 |
| 12 | build-artifact-days-to-keep: -1 |
| 13 | build-artifact-num-to-keep: 5 |
| 14 | |
Jessica Wagantall | b8204a1 | 2023-06-21 11:27:57 -0700 | [diff] [blame] | 15 | # Email preferences |
Jessica Wagantall | 5e36c39 | 2020-12-09 12:44:23 -0800 | [diff] [blame] | 16 | failure-notification: "releng+onap@linuxfoundation.org" |
| 17 | failure-notification-prefix: "[releng]" |
| 18 | |
Jessica Wagantall | 5c5e338 | 2017-08-22 19:06:41 -0700 | [diff] [blame] | 19 | # lf-infra defaults |
| 20 | lftools-version: <1.0.0 |
| 21 | |
Jessica Wagantall | 564913e | 2018-03-19 13:41:33 -0700 | [diff] [blame] | 22 | # packer_version |
Anil Belur | d9334ed | 2018-09-27 18:54:54 +0530 | [diff] [blame] | 23 | packer-version: 1.3.1 |
Jessica Wagantall | 564913e | 2018-03-19 13:41:33 -0700 | [diff] [blame] | 24 | |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 25 | # default gerrit server definition |
Andrew Grimberg | c1f3caf | 2023-05-03 09:25:07 -0700 | [diff] [blame] | 26 | server-name: "Primary" |
| 27 | gerrit-server-name: "Primary" |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 28 | |
Jessica Wagantall | b92bd29 | 2017-06-07 13:13:32 -0700 | [diff] [blame] | 29 | # Java |
Andrew Grimberg | c1f3caf | 2023-05-03 09:25:07 -0700 | [diff] [blame] | 30 | jdk: "" |
Jessica Wagantall | b92bd29 | 2017-06-07 13:13:32 -0700 | [diff] [blame] | 31 | |
Jessica Wagantall | 8eff9a2 | 2017-06-07 09:09:54 -0700 | [diff] [blame] | 32 | # Maven |
Andrew Grimberg | c1f3caf | 2023-05-03 09:25:07 -0700 | [diff] [blame] | 33 | mvn-params: "" |
| 34 | mvn-staging-id: "ecomp-staging" |
Jessica Wagantall | 98a82bd | 2017-06-06 11:02:26 -0700 | [diff] [blame] | 35 | onap-infra-mvn-opts: | |
Andrew Grimberg | c1f3caf | 2023-05-03 09:25:07 -0700 | [diff] [blame] | 36 | --show-version |
| 37 | --batch-mode |
| 38 | -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn |
| 39 | -Djenkins |
| 40 | -Dmaven.repo.local=/tmp/r |
| 41 | -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r |
Jessica Wagantall | cadcb85 | 2019-01-28 16:21:51 -0800 | [diff] [blame] | 42 | staging-profile-id: 176c31dfe190a |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 43 | # Timeout in minutes |
Jessica Wagantall | fa0f3b3 | 2018-03-05 16:12:37 -0800 | [diff] [blame] | 44 | build-timeout: 90 |
Jessica Wagantall | b8204a1 | 2023-06-21 11:27:57 -0700 | [diff] [blame] | 45 | |
| 46 | # Default node, if not defined in the job |
Bengt Thuree | ffc3ac8 | 2022-09-30 00:35:18 +1000 | [diff] [blame] | 47 | build-node: ubuntu1804-builder-4c-4g |
Andrew Grimberg | ebc710a | 2017-01-30 12:59:38 -0800 | [diff] [blame] | 48 | |
Andrew Grimberg | c1f3caf | 2023-05-03 09:25:07 -0700 | [diff] [blame] | 49 | archive-artifacts: "" |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 50 | |
Jessica Wagantall | 96b8f2c | 2023-11-09 13:10:39 -0800 | [diff] [blame] | 51 | # Default branch value |
| 52 | branch: master |
| 53 | |
Andrew Grimberg | e246588 | 2017-02-24 12:38:05 -0800 | [diff] [blame] | 54 | # Set default maven version used for everything |
Andrew Grimberg | c1f3caf | 2023-05-03 09:25:07 -0700 | [diff] [blame] | 55 | maven-version: "mvn33" |
Jeremy Phelps | 11f5d41 | 2017-06-30 13:56:19 -0500 | [diff] [blame] | 56 | |
| 57 | # git submodule attributes |
Jeremy Phelps | b007d78 | 2017-07-11 10:20:23 -0500 | [diff] [blame] | 58 | submodule-recursive: true |
Jessica Wagantall | 11a31f0 | 2019-05-13 12:28:14 -0700 | [diff] [blame] | 59 | submodule-disable: false |
Jeremy Phelps | b007d78 | 2017-07-11 10:20:23 -0500 | [diff] [blame] | 60 | |
| 61 | # Jenkins |
Andrew Grimberg | c1f3caf | 2023-05-03 09:25:07 -0700 | [diff] [blame] | 62 | jenkins-ssh-credential: "onap-jenkins-ssh" |
| 63 | jenkins-ssh-release-credential: "jenkins-release" |
Andrew Grimberg | 1263444 | 2019-09-24 11:56:34 -0700 | [diff] [blame] | 64 | |
| 65 | # SonarCloud |
| 66 | sonarcloud_project_organization: onap |
vasraz | d9ff694 | 2022-03-17 23:26:49 +0000 | [diff] [blame] | 67 | sonar_mvn_goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar" |
Andrew Gauld | bc09618 | 2019-11-14 20:23:23 +0000 | [diff] [blame] | 68 | |
| 69 | # Nexus3 docker registries |
| 70 | container-public-registry: nexus3.onap.org:10001 |
| 71 | container-snapshot-registry: nexus3.onap.org:10003 |
| 72 | container-staging-registry: nexus3.onap.org:10004 |
| 73 | # the quotes here are REQUIRED |
Andrew Grimberg | c1f3caf | 2023-05-03 09:25:07 -0700 | [diff] [blame] | 74 | container-push-registry: "{container-snapshot-registry}" |