From b4f02248e007bc59f4f471719d2c1b84d913a286 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 7 Jun 2017 14:58:09 +0100 Subject: [PATCH] jenkins: scripts: propose_update: Pass project directory as first argument The sync_openstack_ansible_common_files.sh expects the OSA project to be in the first argument. Fixes the following problem: 2017-06-07 12:23:50.415740 | + update openstack-ansible-galera_client 2017-06-07 12:23:50.415772 | + bash /usr/local/jenkins/slave_scripts/sync_openstack_ansible_common_files.sh 2017-06-07 12:23:50.418144 | /usr/local/jenkins/slave_scripts/sync_openstack_ansible_common_files.sh: line 20: 1: unbound variable Change-Id: Ic64e7984b4ff888fa56b11239477834a0d972dfb --- jenkins/scripts/propose_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/scripts/propose_update.sh b/jenkins/scripts/propose_update.sh index 6c2afd8110..e279522ec3 100755 --- a/jenkins/scripts/propose_update.sh +++ b/jenkins/scripts/propose_update.sh @@ -74,7 +74,7 @@ elif [ "$OWN_PROJECT" == "openstack-ansible-tests" ] ; then ##### END OF WIP ######## #PROJECTS=$(./gen-projects-list.sh) function update { - bash /usr/local/jenkins/slave_scripts/sync_openstack_ansible_common_files.sh + bash /usr/local/jenkins/slave_scripts/sync_openstack_ansible_common_files.sh $1 } else echo "Unknown project $1" >2