summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-06-28 18:18:06 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-06-28 18:18:06 +0800
commit02ff4381979a5148cc17f7b6ea023fd4a1a5bffe (patch)
treec6e794210b20e6c9e6cf04877442c3ebca0bf28c /app/services
parent468e8b55585d54b1f92f647e8a1932f22610889e (diff)
downloadgitlab-ce-02ff4381979a5148cc17f7b6ea023fd4a1a5bffe.tar.gz
Try to report where the file should be
Diffstat (limited to 'app/services')
-rw-r--r--app/services/ci/create_pipeline_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_pipeline_service.rb b/app/services/ci/create_pipeline_service.rb
index 942145c4a8c..4f35255fb53 100644
--- a/app/services/ci/create_pipeline_service.rb
+++ b/app/services/ci/create_pipeline_service.rb
@@ -33,7 +33,7 @@ module Ci
unless pipeline.config_processor
unless pipeline.ci_yaml_file
- return error('Missing .gitlab-ci.yml file')
+ return error("Missing #{pipeline.ci_yaml_file_path} file")
end
return error(pipeline.yaml_errors, save: save_on_errors)
end