Merge "Move anti-staging images checker to oom repo"
[ci-management.git] / jjb / integration / integration-templates-csit.yaml
1 ---
2 - job-template:
3     name: '{project-name}-{stream}-verify-csit-{functionality}'
4     disabled: '{disabled}'
5
6     project-type: freestyle
7     build-node: 'ubuntu1804-docker-8c-8g'
8     node: '{build-node}'
9     recipients: ''
10     java-version: 'openjdk11'
11
12     properties:
13       - lf-infra-properties:
14           project: 'integration/csit'
15           build-days-to-keep: '{build-days-to-keep}'
16
17     parameters:
18       - infra-parameters:
19           project: 'integration/csit'
20           branch: '{branch}'
21           refspec: 'refs/heads/{branch}'
22           artifacts: '{archive-artifacts}'
23       - integration-test-plan:
24           test-plan: 'plans/{project-name}/{functionality}'
25       - integration-test-options:
26           test-options: '{robot-options}'
27
28     scm:
29       - gerrit-trigger-scm:
30           refspec: '$GERRIT_REFSPEC'
31           choosing-strategy: 'gerrit'
32           submodule-recursive: '{submodule-recursive}'
33
34     wrappers:
35       - lf-infra-wrappers:
36           build-timeout: '{build-timeout}'
37           jenkins-ssh-credential: '{jenkins-ssh-credential}'
38
39     triggers:
40       - gerrit-trigger-patch-submitted:
41           server: '{server-name}'
42           project: 'integration/csit'
43           branch: '{branch}'
44           files: '**/{project-name}/**'
45
46     builders:
47       - lf-update-java-alternatives:
48           java-version: '{java-version}'
49       - integration-install-robotframework
50       - inject:
51           properties-file: 'env.properties'
52       - integration-run-test
53
54     publishers:
55       - integration-robot:
56           unstable-if: 0.0
57           pass-if: 100.0
58       - lf-infra-publish
59       - email:
60           recipients: '{recipients}'
61           notify-every-unstable-build: false
62           send-to-individuals: true
63
64 - job-template:
65     name: '{project-name}-{stream}-csit-{functionality}'
66     disabled: '{disabled}'
67
68     project-type: freestyle
69     build-node: 'ubuntu1804-docker-8c-8g'
70     node: '{build-node}'
71     recipients: ''
72     java-version: 'openjdk11'
73
74     properties:
75       - lf-infra-properties:
76           project: 'integration/csit'
77           build-days-to-keep: '{build-days-to-keep}'
78
79     parameters:
80       - infra-parameters:
81           project: 'integration/csit'
82           branch: '{branch}'
83           refspec: 'refs/heads/{branch}'
84           artifacts: '{archive-artifacts}'
85       - integration-test-plan:
86           test-plan: 'plans/{project-name}/{functionality}'
87       - integration-test-options:
88           test-options: '{robot-options}'
89
90     scm:
91       - gerrit-trigger-scm:
92           refspec: ''
93           choosing-strategy: 'default'
94           submodule-recursive: '{submodule-recursive}'
95
96     wrappers:
97       - lf-infra-wrappers:
98           build-timeout: '{build-timeout}'
99           jenkins-ssh-credential: '{jenkins-ssh-credential}'
100
101     triggers:
102       - gerrit-trigger-patch-merged:
103           server: '{server-name}'
104           project: 'integration/csit'
105           branch: '{branch}'
106           files: '**/{project-name}/**'
107       - timed: '@daily'
108       - reverse:
109           jobs: '{obj:trigger_jobs}'
110
111     builders:
112       - lf-update-java-alternatives:
113           java-version: '{java-version}'
114       - integration-install-robotframework
115       - inject:
116           properties-file: 'env.properties'
117       - integration-run-test
118
119     publishers:
120       - integration-robot:
121           unstable-if: 0.0
122           pass-if: 100.0
123       - lf-infra-publish
124       - email:
125           recipients: '{recipients}'
126           notify-every-unstable-build: false
127           send-to-individuals: true
128