- 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'

- 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'

Fix typo in pypi upload job.
Fix typo in pypi upload job.

Change-Id: I846df0c5476046fb1dd5af0d012bd14b5f79a1c4
Reviewed-on: https://review.openstack.org/19666
Approved: James E. Blair <e81a02a9d6405977f63a769d9f6ec8ed9d924325@inaugust.com>
Reviewed-by: James E. Blair <e81a02a9d6405977f63a769d9f6ec8ed9d924325@inaugust.com>
Tested-by: Jenkins
