summaryrefslogtreecommitdiff
path: root/spec/simplecov_env.rb
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-03-10 11:20:08 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-03-16 08:49:01 +0100
commit3ebd29b538e72c675169157eaadb7e38eed20db2 (patch)
treef2b2e5f377e5eab5594cdb6a5a6e162bd8ca9caa /spec/simplecov_env.rb
parent68e64a5b44b7a0f540214ee8a3ca36ffcdb4fc6c (diff)
downloadgitlab-ce-3ebd29b538e72c675169157eaadb7e38eed20db2.tar.gz
Futher rename the CI variableszj-rename-ci-vars
Diffstat (limited to 'spec/simplecov_env.rb')
-rw-r--r--spec/simplecov_env.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/simplecov_env.rb b/spec/simplecov_env.rb
index b507d38f472..ac2c89b3ff9 100644
--- a/spec/simplecov_env.rb
+++ b/spec/simplecov_env.rb
@@ -15,9 +15,9 @@ module SimpleCovEnv
def configure_job
SimpleCov.configure do
- if ENV['CI_BUILD_NAME']
- coverage_dir "coverage/#{ENV['CI_BUILD_NAME']}"
- command_name ENV['CI_BUILD_NAME']
+ if ENV['CI_JOB_NAME']
+ coverage_dir "coverage/#{ENV['CI_JOB_NAME']}"
+ command_name ENV['CI_JOB_NAME']
end
if ENV['CI']