# simply copy the contents of the repository to the server, no building needed
- job:
    name: infra-publications-publish
    concurrent: false
    node: precise

    builders:
      - gerrit-git-prep

    publishers:
      - ftp:
          site: docs.openstack.org
          source: '**'
          target: 'www/infra/publications/${ZUUL_BRANCH}/'
          remove-prefix: ''
          excludes: ''
      - console-log-post

- job:
    name: infra-publications-publish-index
    concurrent: false
    node: precise

    builders:
      - gerrit-git-prep
      - shell: |
          #!/bin/bash -xe
          git reset --hard remotes/origin/master
          git clean -x -f -d -q
          ./make-index

    publishers:
      - ftp:
          site: docs.openstack.org
          source: 'output/**'
          target: 'www/infra/publications/'
          remove-prefix: 'output/'
          excludes: ''
      - console-log-post

# simply copy the contents of the repository to the server, no building needed
- job:
    name: infra-publications-publish
    concurrent: false
    node: precise

    builders:
      - gerrit-git-prep

    publishers:
      - ftp:
          site: docs.openstack.org
          source: '**'
          target: 'infra/publications/${ZUUL_BRANCH}/'
          remove-prefix: ''
          excludes: ''
      - console-log-post

- job:
    name: infra-publications-publish-index
    concurrent: false
    node: precise

    builders:
      - gerrit-git-prep
      - shell: |
          #!/bin/bash -xe
          git reset --hard remotes/origin/master
          git clean -x -f -d -q
          ./make-index

    publishers:
      - ftp:
          site: docs.openstack.org
          source: 'output/**'
          target: 'infra/publications/'
          remove-prefix: 'output/'
          excludes: ''
      - console-log-post

Fix target for infra publications jobs.
Fix target for infra publications jobs.

Not sure where I got the www from, but that's not needed on the FTP
publisher target for docs.openstack.org content.

Change-Id: Ia18848117520f8e513b8028259dcb7c0aca36b10
Reviewed-on: https://review.openstack.org/33876
Reviewed-by: Monty Taylor <37c07a49ee3d5191376d758eb1d8298b34456b8e@inaugust.com>
Approved: James E. Blair <e81a02a9d6405977f63a769d9f6ec8ed9d924325@inaugust.com>
Reviewed-by: James E. Blair <e81a02a9d6405977f63a769d9f6ec8ed9d924325@inaugust.com>
Reviewed-by: Jeremy Stanley <98883b97e35b7bb1ac282bb863f2e9d917db0454@yuggoth.org>
Tested-by: Jenkins
