I'm trying to execute my jobs automatically from Gitlab webhooks with this instructions: https://github.com/jenkinsci/gitlab-plugin Now I have a Gitlab webhook when I test it the response is 200, but the response headers is
Response headers:
Server: nginx/1.10.3 (Ubuntu)
Date: Wed, 24 Oct 2018 20:43:43 GMT
Transfer-Encoding: chunked
Connection: close
X-Content-Type-Options: nosniff
Without response body
This is the expected response or an error?, my job is a multibranch pipeline, in Jenkins the job is not executed. My Jenkins work behind a proxypass with Nginx and the structure of my webhook url in Gitlab is https://jenkinsuser:[email protected]/project/myjob In the Jenkins global configuration, in the Gitlab plugin in my Jenkins I can do a success test of the connection from Jenkins to Gitlab. I not have any idea about what is wrong But in https://jenkinsuser:[email protected]/project/myjob what is myjob? This: DOT_testing-webhook or this: view/DevOps/job/DOT_testing-webhook/job/master/
The execution of curl -X POST https://USER:[email protected]/project/DOT_testing-webhook/dev response:
HTTP ERROR 404
Problem accessing /project/DOT_testing-webhook/dev. Reason:
Not Found
Powered by Jetty:// 9.4.z-SNAPSHOT