Merge "Restricting chef-cookbook-chefspec job to spec dir"

This commit is contained in:
Jenkins 2014-03-06 07:53:08 +00:00 committed by Gerrit Code Review
commit 4ae45e3aa7

View File

@ -124,7 +124,7 @@
builders: builders:
- shell: | - shell: |
COOKBOOK=$(awk '/^name/ {print $NF}' metadata.rb |tr -d \"\') 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: - builder:
name: run-tests name: run-tests