project-config/jenkins/jobs/pypi-jobs.yaml
Jeremy Stanley 4af904b5d6 Switch jobs from old pypi to new release worker
This is mainly cleanup to get rid of the old misleading slave label.
The old worker already has the new label applied, to make switching
more seamless.

Change-Id: Iefd6ed3fbb696b2009e8525c4cac1f0e1aca50e3
2015-07-03 18:37:53 +00:00

39 lines
1019 B
YAML

- job-template:
name: '{name}-pypi-both-upload'
node: release
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
# Note we upload the wheel first because pip prefers wheels
# and there is a mirroring issue where sometimes the first
# artifact uploaded is the only one you get. Since pip prefers
# wheels it is best to make the wheel the one we get.
/usr/local/jenkins/slave_scripts/pypi-wheel-upload.sh {name} {tarball-site}
/usr/local/jenkins/slave_scripts/pypi-tarball-upload.sh {name} {tarball-site}
publishers:
- console-log
- job-template:
name: '{name}-pypi-wheel-upload'
node: release
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
/usr/local/jenkins/slave_scripts/pypi-wheel-upload.sh {name} {tarball-site}
publishers:
- console-log
- job-group:
name: pypi-jobs
jobs:
- '{name}-pypi-both-upload'
- '{name}-pypi-wheel-upload'