diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-06-30 16:14:48 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-06-30 16:14:48 +0800 |
commit | 057c3c4e31df9dc8b1866b185dbf6d89e2751e3c (patch) | |
tree | d6d5c4647a823cbe4cca119a6be492b88e551bdd /app | |
parent | 829aed07429ad312e7adf44c8330a87ce8144431 (diff) | |
download | gitlab-ce-057c3c4e31df9dc8b1866b185dbf6d89e2751e3c.tar.gz |
Introduce CI_CONFIG_PATH
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/pipeline.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index 12986e5781e..6905ab9ea23 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -391,7 +391,8 @@ module Ci def predefined_variables [ - { key: 'CI_PIPELINE_ID', value: id.to_s, public: true } + { key: 'CI_PIPELINE_ID', value: id.to_s, public: true }, + { key: 'CI_CONFIG_PATH', value: ci_yaml_file_path, public: true } ] end |