From cab63730515ee65739e77dca54608e72c2b1b355 Mon Sep 17 00:00:00 2001 From: galstrom21 Date: Tue, 18 Feb 2014 11:48:30 +0000 Subject: [PATCH] Restricting chef-cookbook-chefspec job to spec dir Change-Id: I76d4b5709ec651a57245461a9ad99c79b0bf12bf --- .../files/jenkins_job_builder/config/macros.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml index e14877d12f..0d550e19b1 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml @@ -124,7 +124,7 @@ builders: - shell: | COOKBOOK=$(awk '/^name/ {print $NF}' metadata.rb |tr -d \"\') - ruby1.9.1 /usr/bin/bundle exec rspec .cookbooks/$COOKBOOK + ruby1.9.1 /usr/bin/bundle exec rspec .cookbooks/$COOKBOOK/spec - builder: name: run-tests