diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-01-11 17:08:49 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-01-11 17:08:49 +0000 |
commit | 31bcd04711d448c016506897b8431273e3454faa (patch) | |
tree | 5549dccf31608a741af76cd2320d0c4bcb67783b | |
parent | f31a96104f0b8f535c04ecf5bcec1bcb4719ee93 (diff) | |
parent | 2543af84f0925a1eea585675b2a334a5691a110b (diff) | |
download | gitlab-ce-31bcd04711d448c016506897b8431273e3454faa.tar.gz |
Merge branch 'gitlab-ci-on-tag' into 'master'
When push tag - trigger GitLab CI
See merge request !1383
-rw-r--r-- | app/services/git_tag_push_service.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/services/git_tag_push_service.rb b/app/services/git_tag_push_service.rb index 62eaf9b4f51..bacd39bf1c4 100644 --- a/app/services/git_tag_push_service.rb +++ b/app/services/git_tag_push_service.rb @@ -8,6 +8,12 @@ class GitTagPushService create_push_event project.repository.expire_cache project.execute_hooks(@push_data.dup, :tag_push_hooks) + + if project.gitlab_ci? + project.gitlab_ci_service.async_execute(@push_data) + end + + true end private |