These are chat archives for jenkinsci/gitlab-plugin

31st
Aug 2018
Daniel Geißler
@dgeissl
Aug 31 2018 19:21 UTC

Hi, I hope someone can help me with a authorization issue I recently discovered with one GitLab Webhook to Jenkins. When I test the Push notification I get

Hook executed successfully but returned HTTP 403 <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 403 anonymous is missing the Job/Build permission</title> </head> <body><h2>HTTP ERROR 403</h2> <p>Problem accessing /project/moxx/. Reason: <pre> anonymous is missing the Job/Build permission</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/> </body> </html>

The strange thing is I already have another project that works just fine. So the GitLab is configured in Jenkins and at least some projects work. I wonder which user is beeing used to trigger the jobs when the Webhook <jenkins-url>/project/<job-name> is used?