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