summaryrefslogtreecommitdiff
path: root/ci/jenkins_run_tests.bat
blob: b5c35a34cd09ab9ec54c872c2b64e652589631cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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/functional spec/unit spec/stress
set RSPEC_ERRORLVL=%ERRORLEVEL%

REM place rspec output back in jenkins working directory
move test.xml ..

REM Return the error level from rspec
exit /B %RSPEC_ERRORLVL%