Gitlab prefixes /project to web hooks

11 views
Skip to first unread message

Doug Garstang

unread,
Apr 28, 2016, 10:06:16 AM4/28/16
to Jenkins Users
I've started using folders in Jenkins. One of my jobs is at the URL:


I'm also trying to use Gitlab to post a web hook on commit to the job.

On the Gitlab project page, the Jenkins URL js:

The Project Name is:
job/Chef%20Cookbooks/job/slice-ntp/job/Jobs/job/chef-cookbook-slice-ntp-build/

When I check the nginx logs (nginx is sitting in front of Jenkins to do SSL termination), I see this:
POST /project/job/Chef%20Cookbooks/job/slice-ntp/job/Jobs/job/chef-cookbook-slice-ntp-build/

So, gitlab is prefixing /project to the front of the URL. If I remove the /project prefix, it works fine.

I realize this is probably a gitlab issue, and I'll post to a gitlab discussion group too, but I was wondering if there was a way to work around this in Jenkins?

Thanks,
Doug


Reply all
Reply to author
Forward
0 new messages