diff options
author | ssytnic <sergey.sytnic@binn.ru> | 2015-02-12 15:01:51 +0200 |
---|---|---|
committer | artur <artur.fursa@binn.com.ua> | 2015-03-31 07:13:40 +0300 |
commit | e23620057f347ad01a7af78bbf5ad1335076723b (patch) | |
tree | a2d479e4efa70994dc1aa7c116cb69d93ecf4287 | |
parent | 54e320ee63421ba42a15706a6b4892c502951d44 (diff) | |
download | gitlab-ci-e23620057f347ad01a7af78bbf5ad1335076723b.tar.gz |
Add job name to hook data
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | app/services/web_hook_service.rb | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -17,3 +17,4 @@ tmp/* /db/*.sqlite3 /log/*.log /vendor +/.idea diff --git a/app/services/web_hook_service.rb b/app/services/web_hook_service.rb index 94962a1..0918be8 100644 --- a/app/services/web_hook_service.rb +++ b/app/services/web_hook_service.rb @@ -18,6 +18,7 @@ class WebHookService data = {} data.merge!({ build_id: build.id, + build_name: build.job_name, build_status: build.status, build_started_at: build.started_at, build_finished_at: build.finished_at, |