Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-07-03 22:22:19 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-07-04 13:18:36 +0300
commit4d9c2bad369d510877dff719d94a5f98b1ee4dfe (patch)
treec9ae9423d847e6916b74ac8210c7534aedd24f05 /spec
parent8a0cd7dd1560c78fd1cd9fda363dc73bf8ee2010 (diff)
Fix config path
Diffstat (limited to 'spec')
-rw-r--r--spec/models/ci/build_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index e5fd549f0d7..1553d6d3a9a 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1179,7 +1179,7 @@ describe Ci::Build, :models do
{ key: 'CI_PROJECT_NAMESPACE', value: project.namespace.full_path, public: true },
{ key: 'CI_PROJECT_URL', value: project.web_url, public: true },
{ key: 'CI_PIPELINE_ID', value: pipeline.id.to_s, public: true },
- { key: 'CI_CONFIG_PATH', value: pipeline.ci_yaml_file_path, public: true },
+ { key: 'CI_CONFIG_PATH', value: project.ci_config_file_for_pipeline, public: true },
{ key: 'CI_REGISTRY_USER', value: 'gitlab-ci-token', public: true },
{ key: 'CI_REGISTRY_PASSWORD', value: build.token, public: false },
{ key: 'CI_REPOSITORY_URL', value: build.repo_url, public: false }