blob: 09bf6522948f38f6cb663016754b581d1936c074 [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'
55
56 scm:
57 - lf-infra-gerrit-scm:
58 git-url: '$GIT_URL/$GERRIT_PROJECT'
59 refspec: '$GERRIT_REFSPEC'
60 branch: '$GERRIT_BRANCH'
61 submodule-disable: '{submodule-disable}'
62 submodule-recursive: 'false'
63 submodule-timeout: '{submodule-timeout}'
64 choosing-strategy: gerrit
65 jenkins-ssh-credential: '{jenkins-ssh-credential}'
66
67 concurrent: false
68
69 dsl: !include-raw-escape: pipeline/{pipeline-script}