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: - builder:
name: python26 name: python26
builders: builders:
- shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 26" - shell: "/usr/local/jenkins/slave_scripts/run-tox.sh 26 {github-org} {project}"
- something:
arg: value
- builder: - builder:
name: python27 name: python27
builders: 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: - builder:
name: python26-folsom name: python26-folsom
builders: 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: - builder:
name: python27-folsom name: python27-folsom
builders: 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: - builder:
name: assert-no-extra-files name: assert-no-extra-files

View File

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

View File

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