blob: f12bcfbece2f3ddb63ded4f58885235d12ae55a9 [file] [log] [blame]
Gary Wu0bb72f52017-07-13 12:32:14 -07001---
2- job-template:
3 name: '{project-name}-{stream}-verify-csit-{functionality}'
4 disabled: false
5
6 project-type: freestyle
7 build-node: 'ubuntu1604-docker-8c-8g'
8 node: '{build-node}'
9
10 properties:
11 - lf-infra-properties:
12 project: '{project-name}'
13 build-days-to-keep: '{build-days-to-keep}'
14
15 parameters:
16 - infra-parameters:
17 project: '{project-name}'
18 branch: '{branch}'
19 refspec: 'refs/heads/{branch}'
20 artifacts: '{archive-artifacts}'
21 - integration-test-plan:
22 test-plan: 'plans/{project-name}/{functionality}'
23 - integration-test-options:
24 test-options: '{robot-options}'
25
26 scm:
27 - gerrit-trigger-scm:
28 refspec: '$GERRIT_REFSPEC'
29 choosing-strategy: 'gerrit'
30 submodule-recursive: '{submodule-recursive}'
31
32 wrappers:
33 - lf-infra-wrappers:
34 build-timeout: '{build-timeout}'
35 jenkins-ssh-credential: '{jenkins-ssh-credential}'
36
37 triggers:
38 - gerrit-trigger-patch-submitted:
39 server: '{server-name}'
40 project: 'integration'
41 branch: '{branch}'
42 files: 'test/csit/**/{project-name}/**'
43
44 builders:
45 - integration-install-robotframework
46 - inject:
47 properties-file: 'env.properties'
48 - integration-run-test
49
50 publishers:
51 - integration-robot:
52 unstable-if: 0.0
53 pass-if: 100.0
54 - lf-infra-publish
55
56- job-template:
57 name: '{project-name}-{stream}-csit-{functionality}'
58 disabled: false
59
60 project-type: freestyle
61 build-node: 'ubuntu1604-docker-8c-8g'
62 node: '{build-node}'
63
64 properties:
65 - lf-infra-properties:
66 project: '{project-name}'
67 build-days-to-keep: '{build-days-to-keep}'
68
69 parameters:
70 - infra-parameters:
71 project: '{project-name}'
72 branch: '{branch}'
73 refspec: 'refs/heads/{branch}'
74 artifacts: '{archive-artifacts}'
75 - integration-test-plan:
76 test-plan: 'plans/{project-name}/{functionality}'
77 - integration-test-options:
78 test-options: '{robot-options}'
79
80 scm:
81 - gerrit-trigger-scm:
82 refspec: ''
83 choosing-strategy: 'default'
84 submodule-recursive: '{submodule-recursive}'
85
86 wrappers:
87 - lf-infra-wrappers:
88 build-timeout: '{build-timeout}'
89 jenkins-ssh-credential: '{jenkins-ssh-credential}'
90
91 triggers:
92 - gerrit-trigger-patch-merged:
93 server: '{server-name}'
94 project: 'integration'
95 branch: '{branch}'
96 files: 'test/csit/**/{project-name}/**'
97 - timed: '@daily'
98 - reverse:
99 jobs: '{obj:trigger_jobs}'
100
101 builders:
102 - integration-install-robotframework
103 - inject:
104 properties-file: 'env.properties'
105 - integration-run-test
106
107 publishers:
108 - integration-robot:
109 unstable-if: 0.0
110 pass-if: 100.0
111 - lf-infra-publish