diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-28 19:33:18 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-03 13:14:32 +0300 |
commit | d57e809cbd56aea8a49c6595663fc4b7250c5a34 (patch) | |
tree | 495d73da8f7edad0852a856774ef907ca6bfac60 /app/models/project_services/ci_service.rb | |
parent | 85fa334eb6fd2069287a660e6ffa2295ea3a787f (diff) |
Set supported events per project service.
Diffstat (limited to 'app/models/project_services/ci_service.rb')
-rw-r--r-- | app/models/project_services/ci_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project_services/ci_service.rb b/app/models/project_services/ci_service.rb index e58d6d7a233..646783c8733 100644 --- a/app/models/project_services/ci_service.rb +++ b/app/models/project_services/ci_service.rb @@ -25,6 +25,10 @@ class CiService < Service :ci end + def supported_events + %w(push) + end + # Return complete url to build page # # Ex. |