blob: 60eeec019d3b4659ce0aa75dca8c8f4fb8bf8b60 [file] [log] [blame]
Jeremy Ronquillo659f6682020-04-16 13:18:24 -07001# COMAC in a box test for the omec projects on github
2
3- job-template:
4 id: 'omec-comac-in-a-box'
5 name: 'omec_{project}_comac-in-a-box'
6 project-type: pipeline
7
8 pipeline-script: 'comac-in-a-box-github.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/comac-in-a-box-github.yaml <br />
13 Created by Jeremy Ronquillo, jeremyr@opennetworking.org <br />
14 Copyright (c) 2020 Open Networking Foundation (ONF)
15
16 properties:
17 - cord-infra-properties:
18 build-days-to-keep: '{build-days-to-keep}'
19 artifact-num-to-keep: '{artifact-num-to-keep}'
20 - github:
21 url: 'https://github.com/{github-organization}/{project}'
22
23 wrappers:
24 - lf-infra-wrappers:
25 build-timeout: '{build-timeout}'
26 jenkins-ssh-credential: '{jenkins-ssh-credential}'
27
28 parameters:
29 - string:
30 name: buildNode
31 default: '{build-node}'
32 description: 'Name of the Jenkins executor node to run the job on'
33
34 - string:
35 name: project
36 default: '{project}'
37 description: 'Name of the project'
38
39 - string:
40 name: branch
41 default: '$ghprbTargetBranch'
42 description: 'Replace value to test manually.'
43
44 - string:
45 name: ghprbPullId
46 default: '$ghprbPullId'
47 description: 'GitHub Pull-Request builder value. Delete default value to test manually.'
48
49 - string:
50 name: ghprbActualCommit
51 default: '$ghprbActualCommit'
52 description: 'GitHub Pull-Request builder value. Delete default value to test manually.'
53
54 triggers:
55 - cord-infra-github-pr-trigger:
56 github_pr_org_list: '{obj:github_pr_org_list}'
57 github_pr_auth_id: '{github_pr_auth_id}'
58 status_context: 'CORD Jenkins - COMAC-in-a-box Verification'
59
60 concurrent: false
61
62 project-type: pipeline
63 dsl: !include-raw-escape: pipeline/{pipeline-script}