Add org and project params to run-tox.

These are ignored for now, but the github org will be used in
a subsequent change to determine which pypi mirror to use.

The project parameter may eventually be useful for allowing
special behavior for openstack/requirements, so go ahead and
include it here for completeness.

Change-Id: I31f235df100622ea26420c81404b16f24b05be01
Reviewed-on: https://review.openstack.org/23512
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2013-03-04 13:40:47 -08:00 committed by Jenkins
parent f2016a6615
commit a76ebf2d42
3 changed files with 22 additions and 12 deletions

View File

@ -79,24 +79,22 @@
- builder:
name: python26
builders:
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 26"
- something:
arg: value
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 26 {github-org} {project}"
- builder:
name: python27
builders:
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 27"
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 27 {github-org} {project}"
- builder:
name: python26-folsom
builders:
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 26-folsom"
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 26-folsom {github-org} {project}"
- builder:
name: python27-folsom
builders:
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 27-folsom"
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 27-folsom {github-org} {project}"
- builder:
name: assert-no-extra-files

View File

@ -5,7 +5,9 @@
- timed: '0 6 * * *'
builders:
- python26
- python26:
github-org: '{github-org}'
project: '{name}'
publishers:
- scp:
@ -36,7 +38,9 @@
- timed: '0 6 * * *'
builders:
- python27
- python27:
github-org: '{github-org}'
project: '{name}'
publishers:
- scp:

View File

@ -69,7 +69,9 @@
builders:
- gerrit-git-prep
- python26
- python26:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
@ -105,7 +107,9 @@
builders:
- gerrit-git-prep
- python26-folsom
- python26-folsom:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
@ -142,7 +146,9 @@
builders:
- gerrit-git-prep
- python27
- python27:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers:
@ -183,7 +189,9 @@
builders:
- gerrit-git-prep
- python27-folsom
- python27-folsom:
github-org: '{github-org}'
project: '{name}'
- assert-no-extra-files
publishers: