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-parameters:
27 refspec: 'refs/heads/{branch}'
31 refspec: '$GERRIT_REFSPEC'
32 choosing-strategy: 'gerrit'
35 - ecomp-infra-wrappers:
36 build-timeout: '{build-timeout}'
39 - gerrit-trigger-patch-submitted-pattern:
46 virtualenv $WORKSPACE/venv-tox
47 source $WORKSPACE/venv-tox/bin/activate
48 pip install --upgrade pip
49 pip install --upgrade tox argparse
55 - ecomp-infra-shiplogs:
56 maven-version: 'mvn33'