diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-02 16:44:06 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-02 16:44:06 +0300 |
commit | c03da1caade637298ca96e59cea990b0827539c9 (patch) | |
tree | 1746747a045835d0148dfd727aa3275b6b44bc1c /app | |
parent | 329e067ff1d235af38f686145b03ced6c1fe7d85 (diff) |
Extend yml syntax for only and except to support specifying repository path
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/commit.rb b/app/models/ci/commit.rb index 13437b2483f..e58420d82d4 100644 --- a/app/models/ci/commit.rb +++ b/app/models/ci/commit.rb @@ -187,7 +187,7 @@ module Ci end def config_processor - @config_processor ||= Ci::GitlabCiYamlProcessor.new(ci_yaml_file) + @config_processor ||= Ci::GitlabCiYamlProcessor.new(ci_yaml_file, gl_project.path_with_namespace) rescue Ci::GitlabCiYamlProcessor::ValidationError => e save_yaml_error(e.message) nil |