3 # Job template for python verify jobs
5 # The purpose of this job template is to run tox for projects using this
9 # branch: git branch (eg. stable/lithium or master)
11 # path: directory containing the project's tox.ini relative to
12 # the workspace. The default is the project root.
13 # pattern: ant file-path pattern relative to the workspace used to
16 name: '{project}-{stream}-{subproject}-verify-python'
19 project-type: freestyle
24 - ecomp-infra-properties:
25 build-days-to-keep: '{build-days-to-keep}'
28 - ecomp-infra-parameters:
31 refspec: 'refs/heads/{branch}'
35 refspec: '$GERRIT_REFSPEC'
36 choosing-strategy: 'gerrit'
39 - ecomp-infra-wrappers:
40 build-timeout: '{build-timeout}'
43 - gerrit-trigger-patch-submitted:
44 server: '{server-name}'
51 virtualenv $WORKSPACE/venv-tox
52 source $WORKSPACE/venv-tox/bin/activate
53 pip install --upgrade pip
54 pip install --upgrade tox argparse
60 # - ecomp-infra-shiplogs:
61 # maven-version: 'mvn33'