diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-02 14:44:06 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-02 14:44:06 +0100 |
commit | c03da1caade637298ca96e59cea990b0827539c9 (patch) | |
tree | 1746747a045835d0148dfd727aa3275b6b44bc1c /app/models/ci/commit.rb | |
parent | 329e067ff1d235af38f686145b03ced6c1fe7d85 (diff) | |
download | gitlab-ce-c03da1caade637298ca96e59cea990b0827539c9.tar.gz |
Extend yml syntax for only and except to support specifying repository path
Diffstat (limited to 'app/models/ci/commit.rb')
-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 |