Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Place script in repo for running CI tests

Chef 10 and 11 differ in directory structure so lets add a script to ease that
This also exposes our testing a bit so other people know what we are doing

This commit excludes the 'cd chef' step in 10-stable
  • Loading branch information...
commit ea28e343db64d9dbee57707e81e19342c2493365 1 parent 04fb4c8
@btm btm authored
Showing with 14 additions and 0 deletions.
  1. +5 −0 ci/jenkins_run_tests.bat
  2. +9 −0 ci/
5 ci/jenkins_run_tests.bat
@@ -0,0 +1,5 @@
+set PATH=C:\Ruby192\bin;%PATH%
+ruby -v
+call bundle install --binstubs --path vendor/bundle || ( call rm Gemfile.lock && call bundle install --binstubs --path vendor/bundle )
+ruby bin\rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f documentation spec/unit spec/functional
9 ci/
@@ -0,0 +1,9 @@
+export PATH=/usr/local/bin:$PATH
+ruby -v;
+# remove the Gemfile.lock and try again if bundler fails.
+# This should take care of Gemfile changes that result in "bad" bundles without forcing us to rebundle every time
+bundle install --binstubs --path vendor/bundle || ( rm Gemfile.lock && bundle install --binstubs --path vendor/bundle )
+bin/rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f documentation spec;
Please sign in to comment.
Something went wrong with that request. Please try again.