Jeremy Ronquillo | 257d1e4 | 2020-03-17 16:54:26 -0700 | [diff] [blame] | 1 | # COMAC in a box test for helm-charts repo |
| 2 | |
| 3 | - job-template: |
Jeremy Ronquillo | 6072a98 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 4 | id: 'comac-in-a-box-gerrit' |
Jeremy Ronquillo | 257d1e4 | 2020-03-17 16:54:26 -0700 | [diff] [blame] | 5 | name: '{name}' |
| 6 | project-type: pipeline |
| 7 | |
Jeremy Ronquillo | 6072a98 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 8 | pipeline-script: 'comac-in-a-box-gerrit.groovy' |
Jeremy Ronquillo | 257d1e4 | 2020-03-17 16:54:26 -0700 | [diff] [blame] | 9 | |
| 10 | description: | |
| 11 | Automated build on AMI executor using {pipeline-script}. <br /><br /> |
Jeremy Ronquillo | 6072a98 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 12 | Created from job-template {id} from ci-management/jjb/comac-in-a-box-gerrit.yaml <br /> |
Jeremy Ronquillo | 257d1e4 | 2020-03-17 16:54:26 -0700 | [diff] [blame] | 13 | Created by Jeremy Ronquillo, jeremyr@opennetworking.org <br /> |
| 14 | Copyright (c) 2020 Open Networking Foundation (ONF) |
| 15 | |
| 16 | triggers: |
| 17 | - gerrit: |
| 18 | server-name: '{gerrit-server-name}' |
| 19 | dependency-jobs: '{dependency-jobs}' |
| 20 | trigger-on: |
| 21 | - patchset-created-event: |
| 22 | exclude-drafts: true |
| 23 | exclude-trivial-rebase: false |
| 24 | exclude-no-code-change: true |
| 25 | - draft-published-event |
| 26 | - comment-added-contains-event: |
| 27 | comment-contains-value: '(?i)^.*recheck$' |
| 28 | projects: |
| 29 | - project-compare-type: REG_EXP |
Jeremy Ronquillo | 8df6ef8 | 2020-06-09 09:39:45 -0700 | [diff] [blame] | 30 | project-pattern: 'aether-helm-charts' |
Jeremy Ronquillo | 257d1e4 | 2020-03-17 16:54:26 -0700 | [diff] [blame] | 31 | branches: |
| 32 | - branch-compare-type: REG_EXP |
| 33 | branch-pattern: '{all-branches-regexp}' |
| 34 | file-paths: |
| 35 | - compare-type: REG_EXP |
| 36 | pattern: 'omec/.*' |
| 37 | - compare-type: REG_EXP |
| 38 | pattern: 'aether-apps/.*' |
| 39 | |
| 40 | properties: |
| 41 | - cord-infra-properties: |
| 42 | build-days-to-keep: '{build-days-to-keep}' |
| 43 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 44 | |
| 45 | wrappers: |
| 46 | - lf-infra-wrappers: |
| 47 | build-timeout: '{build-timeout}' |
| 48 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 49 | |
| 50 | parameters: |
| 51 | - string: |
| 52 | name: buildNode |
| 53 | default: 'comac_in_a_box' |
| 54 | description: 'Name of the Jenkins executor node to run the job on' |
Jeremy Ronquillo | ddbd0fd | 2020-04-14 17:12:06 -0700 | [diff] [blame] | 55 | - string: |
| 56 | name: GERRIT_REFSPEC |
| 57 | default: '$GERRIT_REFSPEC' |
Jeremy Ronquillo | 6072a98 | 2020-04-16 13:18:24 -0700 | [diff] [blame] | 58 | description: 'Gerrit ref to fetch.' |
Jeremy Ronquillo | ddbd0fd | 2020-04-14 17:12:06 -0700 | [diff] [blame] | 59 | - string: |
| 60 | name: gitUrl |
| 61 | default: '{gerrit-server-url}/$GERRIT_PROJECT' |
| 62 | description: 'URL to the git repo' |
Jeremy Ronquillo | 257d1e4 | 2020-03-17 16:54:26 -0700 | [diff] [blame] | 63 | scm: |
| 64 | - lf-infra-gerrit-scm: |
| 65 | git-url: '$GIT_URL/$GERRIT_PROJECT' |
| 66 | refspec: '$GERRIT_REFSPEC' |
| 67 | branch: '$GERRIT_BRANCH' |
| 68 | submodule-disable: '{submodule-disable}' |
| 69 | submodule-recursive: 'false' |
| 70 | submodule-timeout: '{submodule-timeout}' |
| 71 | choosing-strategy: gerrit |
| 72 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 73 | |
| 74 | concurrent: false |
| 75 | |
| 76 | dsl: !include-raw-escape: pipeline/{pipeline-script} |