Skip to content

Instantly share code, notes, and snippets.

@iartarisi
Created September 12, 2014 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iartarisi/6b2e36ddec19cb9331ad to your computer and use it in GitHub Desktop.
Save iartarisi/6b2e36ddec19cb9331ad to your computer and use it in GitHub Desktop.
diff --git a/modules/openstack_project/files/jenkins_job_builder/config/macros.ml
b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml
index 62b62a8..4144127 100644
--- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml
+++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml
@@ -177,7 +177,7 @@
if grep rubocop: Strainerfile; then
bundle exec strainer test --cookbooks-path=.cookbooks --only=rubop
else
- bundle exec rubocop
+ bundle exec rake style
fi
- builder:
@@ -188,7 +188,7 @@
if grep foodcritic: Strainerfile; then
bundle exec strainer test --cookbooks-path=.cookbooks --only=foori
tic
else
- bundle exec foodcritic -f any -t ~FC003 -t ~FC023 .
+ bundle exec rake lint
fi
- builder:
@@ -200,7 +200,7 @@
if grep chefspec: Strainerfile; then
bundle exec strainer test --cookbooks-path=.cookbooks --only=chepe
c
else
- bundle exec rspec .cookbooks/$COOKBOOK/spec
+ bundle exec rake chefspec
fi
- builder:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment