diff --git a/script/coverage-json-to-cobertura b/script/coverage-json-to-cobertura index ec0f9e7b..e4424100 100755 --- a/script/coverage-json-to-cobertura +++ b/script/coverage-json-to-cobertura @@ -69,8 +69,8 @@ files = end) source = - if System.get_env("CI_BUILDS_DIR") do - "#{System.get_env("CI_BUILDS_DIR")}/#{System.get_env("PROJECT_FULL_PATH")}" + if System.get_env("CI_PROJECT_NAME") do + "#{System.get_env("CI_BUILDS_DIR")}/#{System.get_env("CI_PROJECT_NAMESPACE")}/#{System.get_env("CI_PROJECT_NAME")}" else File.cwd! end