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-name}-{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}'
32 artifacts: '{archive-artifacts}'
36 refspec: '$GERRIT_REFSPEC'
37 choosing-strategy: 'gerrit'
40 - ecomp-infra-wrappers:
41 build-timeout: '{build-timeout}'
44 - gerrit-trigger-patch-submitted:
45 server: '{server-name}'
51 - provide-maven-settings:
52 global-settings-file: 'global-settings'
53 settings-file: '{mvn-settings}'
55 virtualenv $WORKSPACE/venv-tox
56 source $WORKSPACE/venv-tox/bin/activate
57 pip install --upgrade pip
58 pip install --upgrade tox argparse
64 # - ecomp-infra-shiplogs:
65 # maven-version: 'mvn33'