I use How to configure Git post commit hook from gitlab to notify Jenkins of a new commit like:
https://jenkins.company.com/git/notifyCommit?url=project:Project.git
which works just fine.
However, if the test cases do not fail on master branch
I want to release a new version (git tag & change some version in a file & push). This re-triggers the aforementioned webhook.
Is it possible to have Jenkins only re-trigger the build if built by a certain user?