- job:
    name: pkgdeb-build-openstack-pkg-tools
    node: debian-jessie

    wrappers:
      - build-timeout:
          timeout: 30
      - timestamps

    builders:
    - gerrit-git-prep
    - shell: |
          #!/bin/bash

          set -x
          set -e

          sudo cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin
          sudo chmod +x /usr/sbin/pkgos-infra-install-sbuild
          sudo cp ${WORKSPACE}/build-tools/pkgos-infra-build-pkg /usr/bin
          sudo chmod +x /usr/bin/pkgos-infra-build-pkg
          sudo pkgos-infra-install-sbuild
          pkgos-infra-build-pkg

    publishers:
      - console-log

- job:
    name: pkgdeb-publish-openstack-pkg-tools
    node: debian-jessie

    wrappers:
      - build-timeout:
          timeout: 30
      - timestamps

    builders:
    - gerrit-git-prep
    - shell: |
          #!/bin/bash

          set -x
          set -e

          sudo cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin
          sudo chmod +x /usr/sbin/pkgos-infra-install-sbuild
          sudo cp ${WORKSPACE}/build-tools/pkgos-infra-build-pkg /usr/bin
          sudo chmod +x /usr/bin/pkgos-infra-build-pkg
          sudo pkgos-infra-install-sbuild
          pkgos-infra-build-pkg

    publishers:
      - deb-pkgs
      - console-log

- job:
    name: pkgdeb-build-openstack-pkg-tools
    node: debian-jessie

    wrappers:
      - build-timeout:
          timeout: 30
      - timestamps

    builders:
    - gerrit-git-prep
    - shell: |
          #!/bin/bash

          set -x
          set -e

          sudo cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin
          sudo chmod +x /usr/sbin/pkgos-infra-install-sbuild
          sudo cp ${WORKSPACE}/build-tools/pkgos-infra-build-pkg /usr/bin
          sudo chmod +x /usr/bin/pkgos-infra-build-pkg
          sudo pkgos-infra-install-sbuild
          pkgos-infra-build-pkg

    publishers:
      - console-log

- job:
    name: pkgdeb-publish-openstack-pkg-tools
    node: debian-jessie

    wrappers:
      - build-timeout:
          timeout: 30
      - timestamps

    builders:
    - gerrit-git-prep
    - shell: |
          #!/bin/bash

          set -x
          set -e

          sudo cp ${WORKSPACE}/build-tools/pkgos-infra-install-sbuild /usr/sbin
          sudo chmod +x /usr/sbin/pkgos-infra-install-sbuild
          sudo cp ${WORKSPACE}/build-tools/pkgos-infra-build-pkg /usr/bin
          sudo chmod +x /usr/bin/pkgos-infra-build-pkg
          sudo pkgos-infra-install-sbuild
          pkgos-infra-build-pkg

    publishers:
      - deb-pkgs:
          project: openstack-pkg-tools
      - console-log

Fix upload path to tarballs.o.o for packaging
Fix upload path to tarballs.o.o for packaging

Previously, we attempted to use tarballs/{project}/ for the upload
of built packages after a merge, but {project} wasn't expanded.
This patch fixes that by adding project: openstack-pkg-tools in
the pkgdeb-publish-openstack-pkg-tools job definition indented
immediately below the "publisher: deb-pkgs" line.

Change-Id: I526977199a68212fe7fc7e5d1d0325af6558a8e9
