I\'ve a group of multibranch pipeline jobs generated with the following piece groovy script:
[
\'repo1\',
\'repo2\',
].each { service ->
multib
We were facing similar (not the same) issues with gitlab and Jenkins and the problem was related with the credentials.
In Jenkins, we created a new global Access token for GitLab (Jenkins Configuration -> Credentials -> System -> New Global access -> Define a gitlab token). That generates a Token that we added it to the Webhook, now the hook being something like:
http://[Gitlab User]:[token ID]@Jenkins Address
I hope it helps