Restricting chef-cookbook-chefspec job to spec dir

Change-Id: I76d4b5709ec651a57245461a9ad99c79b0bf12bf
This commit is contained in:
galstrom21 2014-02-18 11:48:30 +00:00
parent 17e09934db
commit cab6373051

View File

@ -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