system-config/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml
James E. Blair 3268fd0175 Fix typo in pypi upload job.
Change-Id: I846df0c5476046fb1dd5af0d012bd14b5f79a1c4
Reviewed-on: https://review.openstack.org/19666
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-01-14 21:32:55 +00:00

28 lines
540 B
YAML

- job-template:
name: '{name}-pypi-upload'
node: pypi
triggers:
- zuul-post
builders:
- shell: |
#!/bin/bash -xe
TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'`
FILENAME="{name}-$TAG.tar.gz"
rm -rf *tar.gz
curl -o $FILENAME http://{tarball-site}/{name}/$FILENAME
- shell: |
/usr/local/jenkins/slave_scripts/pypi-upload.sh {name}
publishers:
- console-log-post
- job-group:
name: pypi-jobs
jobs:
- '{name}-pypi-upload'