8 {project-name}-python-jobs
9 --------------------------
11 Jobs for Python projects using Gerrit.
17 {project-name}-github-python-jobs
18 ---------------------------------
20 Jobs for Python projects using GitHub.
33 Runs a shell script that installs tox in a Python virtualenv.
37 :python-version: Base Python version to use in the virtualenv. For example
47 Tox runner to verify a project. This job is pyenv aware so if the image
48 contains an installation of pyenv at /opt/pyenv it will pick it up and run
49 Python tests with the appropriate Python versions. This job will set the
50 following pyenv variables before running.
54 export PYENV_ROOT="/opt/pyenv"
55 export PATH="$PYENV_ROOT/bin:$PATH"
59 - {project-name}-tox-verify-{stream}
65 :build-node: The node to run build on.
66 :jenkins-ssh-credential: Credential to use for SSH. (Generally set
71 :branch: The branch to build against. (default: master)
72 :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
73 :build-timeout: Timeout in seconds before aborting build. (default: 10)
74 :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
75 :python-version: Version of Python to configure as a base in virtualenv.
77 :stream: Keyword representing a release code-name.
78 Often the same as the branch. (default: master)
79 :submodule-recursive: Whether to checkout submodules recursively.
81 :tox-dir: Directory containing the project's tox.ini relative to
82 the workspace. Empty works if tox.ini is at project root.
84 :tox-envs: Tox environments to run. If blank run everything described
85 in tox.ini. (default: '')