3 # Job template for python verify jobs
5 # The purpose of this job template is to run:
8 # This job supports subprojects.
11 # branch: git branch (eg. stable/lithium or master)
13 # path: directory containing the project's tox.ini relative to
14 # the workspace. The default is the project root.
15 # pattern: ant file-path pattern relative to the workspace used to
18 name: '{project-name}-{stream}-{subproject}-verify-python'
21 project-type: freestyle
27 build-days-to-keep: '{build-days-to-keep}'
33 refspec: 'refs/heads/{branch}'
34 artifacts: '{archive-artifacts}'
36 maven-version: '{maven-version}'
40 refspec: '$GERRIT_REFSPEC'
41 choosing-strategy: 'gerrit'
42 submodule-recursive: '{submodule-recursive}'
46 build-timeout: '{build-timeout}'
49 - gerrit-trigger-patch-submitted:
50 server: '{server-name}'
56 - provide-maven-settings:
57 global-settings-file: 'global-settings'
58 settings-file: '{mvn-settings}'
61 virtualenv $WORKSPACE/venv-tox
62 source $WORKSPACE/venv-tox/bin/activate
63 pip install --upgrade pip
64 pip install --upgrade tox argparse
71 maven-version: '{maven-version}'
74 # Job template for docker daily jobs for 2 SCMs
76 # The purpose of this job template is to run:
77 # 1. inject a version properties file
78 # 2. login into the docker registry
79 # 4. run a specified shell script
82 # branch: git branch (eg. stable/lithium or master)
84 name: '{project-name}-{stream}-2scm-docker-shell-daily'
85 project-type: freestyle
86 node: 'ubuntu1604-docker-8c-8g'
90 build-days-to-keep: '{build-days-to-keep}'
96 refspec: 'refs/heads/{branch}'
97 artifacts: '{archive-artifacts}'
99 maven-version: '{maven-version}'
102 - gerrit-trigger-scm:
104 choosing-strategy: 'default'
105 submodule-recursive: '{submodule-recursive}'
107 project: '{extra-project1}'
108 refspec: '{extra-refspec1}'
109 branch: '{extra-branch1}'
110 checkout-dir: '{checkout-dir1}'
112 project: '{extra-project2}'
113 refspec: '{extra-refspec2}'
114 branch: '{extra-branch2}'
115 checkout-dir: '{checkout-dir2}'
119 build-timeout: '{build-timeout}'
123 - timed: 'H 12 * * *'
124 - gerrit-trigger-release-manually:
125 server: '{server-name}'
130 - provide-maven-settings:
131 global-settings-file: 'global-settings'
132 settings-file: '{mvn-settings}'
134 properties-file: version.properties
139 maven-version: '{maven-version}'
142 # Job template for docker daily jobs for 3 SCMs
144 # The purpose of this job template is to run:
145 # 1. inject a version properties file
146 # 2. login into the docker registry
147 # 4. run a specified shell script
149 # Required Variables:
150 # branch: git branch (eg. stable/lithium or master)
152 name: '{project-name}-{stream}-3scm-docker-shell-daily'
153 project-type: freestyle
154 node: 'queue-docker-4c-4g'
158 build-days-to-keep: '{build-days-to-keep}'
164 refspec: 'refs/heads/{branch}'
165 artifacts: '{archive-artifacts}'
167 maven-version: '{maven-version}'
170 - gerrit-trigger-scm:
172 choosing-strategy: 'default'
173 submodule-recursive: '{submodule-recursive}'
175 project: '{extra-project1}'
176 refspec: '{extra-refspec1}'
177 branch: '{extra-branch1}'
178 checkout-dir: '{checkout-dir1}'
180 project: '{extra-project2}'
181 refspec: '{extra-refspec2}'
182 branch: '{extra-branch2}'
183 checkout-dir: '{checkout-dir2}'
185 project: '{extra-project3}'
186 refspec: '{extra-refspec3}'
187 branch: '{extra-branch3}'
188 checkout-dir: '{checkout-dir3}'
194 timeout: '{build-timeout}'
195 timeout-var: 'BUILD_TIMEOUT'
197 - ssh-agent-credentials:
205 - gerrit-trigger-release-manually:
206 server: '{server-name}'
211 - provide-maven-settings:
212 global-settings-file: 'global-settings'
213 settings-file: '{mvn-settings}'
215 properties-file: version.properties
220 maven-version: '{maven-version}'