From 80c09698532cbb1e8bb1c20e85847306cea0209e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Sat, 1 Dec 2018 13:38:10 +0100 Subject: Fix bug --- lib/gitlab/ci/config/entry/job.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/gitlab/ci/config/entry/job.rb b/lib/gitlab/ci/config/entry/job.rb index b73cf96ca14..3a15bbd933e 100644 --- a/lib/gitlab/ci/config/entry/job.rb +++ b/lib/gitlab/ci/config/entry/job.rb @@ -111,7 +111,7 @@ module Gitlab end def value - @config.merge(to_hash.compact) + to_hash.compact end def commands @@ -159,6 +159,11 @@ module Gitlab only: only_value, except: except_value, variables: merged_variables, + tags: config[:tags], + when: config[:when], + start_in: config[:start_in], + dependencies: config[:dependencies], + extends: config[:extends], environment: environment_defined? ? environment_value : nil, coverage_regex: coverage_defined? ? coverage_value : nil, retry: retry_defined? ? retry_value : nil, -- cgit v1.2.1