diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-02-02 20:01:52 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-02-02 20:01:52 +0300 |
commit | 93e98058ead3252dfb0ec092957dc92e75542456 (patch) | |
tree | 5ac56bd489f5ce350f463d109924fef6b56cf9b1 /lib/ci | |
parent | ebb951bac32dbc487b3a2ecdd7e9325c399f275d (diff) | |
parent | 1c24c79a83bff0d1535d813eb8146fc799d5d8ac (diff) |
Merge branch '20248-add-coverage-regex-in-job-yaml' into 'master'
Add ability to define a coverage regex in the .gitlab-ci.yml
Closes #20428
See merge request !7447
Diffstat (limited to 'lib/ci')
-rw-r--r-- | lib/ci/gitlab_ci_yaml_processor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb index 7463bd719d5..649ee4d018b 100644 --- a/lib/ci/gitlab_ci_yaml_processor.rb +++ b/lib/ci/gitlab_ci_yaml_processor.rb @@ -61,6 +61,7 @@ module Ci allow_failure: job[:allow_failure] || false, when: job[:when] || 'on_success', environment: job[:environment_name], + coverage_regex: job[:coverage], yaml_variables: yaml_variables(name), options: { image: job[:image], |