summaryrefslogtreecommitdiff
path: root/ci/verify-chef.bat
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2016-01-22 15:17:47 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2016-01-25 09:54:21 -0800
commit2bcb7d06dcb49c953b9e666b24c8bd3cb56da2c5 (patch)
treeae6477881ee95b51722a533cad0d04c4653f1267 /ci/verify-chef.bat
parent6f369e4b5d7bee4b347c866a7c1d5bbca0492326 (diff)
downloadchef-2bcb7d06dcb49c953b9e666b24c8bd3cb56da2c5.tar.gz
export CHEF_FIPS=1 in the chef-fips jenkins pipeline
Diffstat (limited to 'ci/verify-chef.bat')
-rwxr-xr-xci/verify-chef.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/verify-chef.bat b/ci/verify-chef.bat
index 1c159f0668..2c16eb83f6 100755
--- a/ci/verify-chef.bat
+++ b/ci/verify-chef.bat
@@ -52,5 +52,8 @@ IF "%PIPELINE_NAME%" == "chef-13" (
call bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/unit spec/functional
) ELSE (
REM ; Running unit tests
+ IF "%PIPELINE_NAME%" == "chef-fips" (
+ set CHEF_FIPS=1
+ )
call bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/unit spec/functional
)