I've started using folders in Jenkins. One of my jobs is at the URL:

https://ci.foobar.com/job/Chef%20Cookbooks/job/slice-ntp/job/Jobs/job/chef-cookbook-slice-ntp-build/

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:
https://ci.foobar.com

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


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c31e5644-4fa8-4a9d-9b7f-59548cb54b2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to