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