I have the following definition of Jenkins work:
- scm:
name: some-project
scm:
- git:
url: git@gitlab.****/some-project.git
credentials-id: some-ssh-username-with-private-key
branches:
- origin/master
- project:
name: some-project
jobs:
- '{name}':
triggers:
gitlab:
trigger-push: true
trigger-merge-request: false
trigger-open-merge-request-push: never
Now this work can be uploaded to Jenkins without errors, but if I go to a page Configure some-projectin Jenkins Web UI, I see that the section is not included Build when a change is pushed to GitLabin Triggers . GitLab repository configured correctly - Source Control . In this task git@gitlab.****/some-project.git, some-ssh-username-with-private-keycredentials and a branch are set origin/master. But without working triggers, this is useless.
What am I doing wrong?
, , GitLab WebHooks Jenkins. , . Jenkins Jenkins Job builder, , , - . git Jenkins.