blob: cf121595cdb012619974064723caa4764762586b [file] [log] [blame]
Jeremy Ronquillo257d1e42020-03-17 16:54:26 -07001# COMAC in a box test for helm-charts repo
2
3- job-template:
Jeremy Ronquillo6072a982020-04-16 13:18:24 -07004 id: 'comac-in-a-box-gerrit'
Jeremy Ronquillo257d1e42020-03-17 16:54:26 -07005 name: '{name}'
6 project-type: pipeline
7
Jeremy Ronquillo6072a982020-04-16 13:18:24 -07008 pipeline-script: 'comac-in-a-box-gerrit.groovy'
Jeremy Ronquillo257d1e42020-03-17 16:54:26 -07009
10 description: |
11 Automated build on AMI executor using {pipeline-script}. <br /><br />
Jeremy Ronquillo6072a982020-04-16 13:18:24 -070012 Created from job-template {id} from ci-management/jjb/comac-in-a-box-gerrit.yaml <br />
Jeremy Ronquillo257d1e42020-03-17 16:54:26 -070013 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 Ronquillo8df6ef82020-06-09 09:39:45 -070030 project-pattern: 'aether-helm-charts'
Jeremy Ronquillo257d1e42020-03-17 16:54:26 -070031 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 Ronquilloddbd0fd2020-04-14 17:12:06 -070055 - string:
56 name: GERRIT_REFSPEC
57 default: '$GERRIT_REFSPEC'
Jeremy Ronquillo6072a982020-04-16 13:18:24 -070058 description: 'Gerrit ref to fetch.'
Jeremy Ronquilloddbd0fd2020-04-14 17:12:06 -070059 - string:
60 name: gitUrl
61 default: '{gerrit-server-url}/$GERRIT_PROJECT'
62 description: 'URL to the git repo'
Jeremy Ronquillo257d1e42020-03-17 16:54:26 -070063 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}