Restricting chef-cookbook-chefspec job to spec dir
Change-Id: I76d4b5709ec651a57245461a9ad99c79b0bf12bf
This commit is contained in:
parent
17e09934db
commit
cab6373051
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user