diff options
author | Pierre Tardy <tardyp@gmail.com> | 2018-10-01 17:22:41 +0000 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-10-01 17:22:41 +0000 |
commit | 57a4ee88aeb4f1f67e54544229ebb86540dac49f (patch) | |
tree | 31372cb3e151afcdea602021cf2f5d64bc213899 /lib | |
parent | 34d24c1ff5a081eb34de455bf8edf0c8c7ac15c4 (diff) | |
download | gitlab-ce-57a4ee88aeb4f1f67e54544229ebb86540dac49f.tar.gz |
Add variables on pipeline webhook
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/data_builder/pipeline.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/data_builder/pipeline.rb b/lib/gitlab/data_builder/pipeline.rb index eb246d393a1..f382992cb0a 100644 --- a/lib/gitlab/data_builder/pipeline.rb +++ b/lib/gitlab/data_builder/pipeline.rb @@ -26,7 +26,8 @@ module Gitlab stages: pipeline.stages_names, created_at: pipeline.created_at, finished_at: pipeline.finished_at, - duration: pipeline.duration + duration: pipeline.duration, + variables: pipeline.variables.map(&:hook_attrs) } end |