Merging MR does not trigger pipeline on target branch
Gitlab itself (recent version) is triggering pipeline after merge correctly.
Both Gitlab and Heptapod is triggering pipeline when direct push to branch.
My understanding is that CI hooks are on git repository.
From what I observed in logs both direct push and merge of MR log:
[2019-12-18 12:27:01 +0000] [29668] [INFO] repo:/var/opt/gitlab/git-data/repositories/foobar/test.hg [hg] GitHandler.push (in transaction) remote='git+ssh://git@localhost:foobar/test.git', force=True
On attached screenshots one can see that only on Gitlab (second screenshot) after MR was merged pipeline was triggered. On Heptapod it didn't. Same .gitlab-ci.yml
is used:
test:
script:
- 'true'