blob: 8fa4a6f1e95f160805a01a7a1f763ade40d6ca81 [file] [log] [blame]
Jeremy Ronquillo257d1e42020-03-17 16:54:26 -07001# COMAC in a box test for helm-charts repo
2
3- job-template:
4 id: 'comac-in-a-box'
5 name: '{name}'
6 project-type: pipeline
7
8 pipeline-script: 'comac-in-a-box.groovy'
9
10 description: |
11 Automated build on AMI executor using {pipeline-script}. <br /><br />
12 Created from job-template {id} from ci-management/jjb/charts.yaml <br />
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
30 project-pattern: 'helm-charts'
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 Ronquilloddbd0fd2020-04-14 17:12:06 -070055 - string:
56 name: GERRIT_REFSPEC
57 default: '$GERRIT_REFSPEC'
58 description: 'Gerrit ref to fetch.'
59 - 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}