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}'
57 - provide-maven-settings:
58 global-settings-file: 'global-settings'
59 settings-file: '{mvn-settings}'
62 virtualenv $WORKSPACE/venv-tox
63 source $WORKSPACE/venv-tox/bin/activate
64 pip install --upgrade pip
65 pip install --upgrade tox argparse
72 maven-version: '{maven-version}'
76 # Job template for docker daily jobs for 3 SCMs
78 # The purpose of this job template is to run:
79 # 1. inject a version properties file
80 # 2. login into the docker registry
81 # 4. run a specified shell script
84 # branch: git branch (eg. stable/lithium or master)
86 name: '{project-name}-{stream}-3scm-docker-shell-daily'
87 project-type: freestyle
88 node: 'queue-docker-4c-4g'
92 build-days-to-keep: '{build-days-to-keep}'
98 refspec: 'refs/heads/{branch}'
99 artifacts: '{archive-artifacts}'
101 maven-version: '{maven-version}'
103 - gerrit-trigger-scm:
105 choosing-strategy: 'default'
106 submodule-recursive: '{submodule-recursive}'
109 - infra-wrappers-docker-build:
110 build-timeout: '{build-timeout}'
113 - timed: 'H */4 * * *'
114 - gerrit-trigger-release-manually:
115 server: '{server-name}'
118 - gerrit-trigger-patch-merged:
119 server: '{server-name}'
126 - provide-maven-settings:
127 global-settings-file: 'global-settings'
128 settings-file: '{mvn-settings}'
130 properties-file: version.properties
135 maven-version: '{maven-version}'