From c9f65bb29f2eac2a725fc1d60d079d212644ea0a Mon Sep 17 00:00:00 2001
From: Jeremy Stanley <fungi@yuggoth.org>
Date: Sun, 14 Jul 2013 16:18:22 +0000
Subject: [PATCH] Fix branch parameter in publications publish job.

* .../files/jenkins_job_builder/config/infra-publications.yaml: The
infra-publications-publish job used the wrong syntax to expand the
ZUUL_BRANCH parameter in its target, and as a result the literal
string '${ZUUL_BRANCH}' was being used as a directory name on the
remote FTP server. This corrects it so that content will be
published to the intended path.

Change-Id: I4e3ef9b10e9932246a10b0dea48c5ebd4884a680
---
 .../files/jenkins_job_builder/config/infra-publications.yaml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml b/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml
index 5ab2e279dc..68f203e5c1 100644
--- a/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml
+++ b/modules/openstack_project/files/jenkins_job_builder/config/infra-publications.yaml
@@ -11,7 +11,7 @@
       - ftp:
           site: docs.openstack.org
           source: '**'
-          target: 'infra/publications/${ZUUL_BRANCH}/'
+          target: 'infra/publications/$ZUUL_BRANCH/'
           remove-prefix: ''
           excludes: ''
       - console-log-post