diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-02 13:46:38 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 09:52:35 +0200 |
commit | 546a3c6561fbe967cc37ccc3229b71893cd20c34 (patch) | |
tree | 0828ab3fb82e2b03921a8f4d1f745f430bae4bd6 /lib | |
parent | 0de7c83a78711601b40b5a739070da2e3af29b11 (diff) | |
download | gitlab-ce-546a3c6561fbe967cc37ccc3229b71893cd20c34.tar.gz |
Refactor commit and build
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/gitlab_ci_yaml_processor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb index e625e790df8..861da770d3c 100644 --- a/lib/ci/gitlab_ci_yaml_processor.rb +++ b/lib/ci/gitlab_ci_yaml_processor.rb @@ -85,6 +85,7 @@ module Ci def build_job(name, job) { + stage_idx: stages.index(job[:stage]), stage: job[:stage], script: "#{@before_script.join("\n")}\n#{normalize_script(job[:script])}", tags: job[:tags] || [], |