-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitlab test jenkins webhook return 404 #354
Comments
Have you set the webhook url as suggested in the jenkins job? You may also have a typo in the url. |
I also get a 404, after upgrading, from a working installation.
GitLab 8.8.1-ee |
I wonder if this is a Jenkins 2.8 issue. Can you both check the main Jenkins log, rather than the plugin-specific log, and see if there are any errors logged there? |
I'm sorry, I didn't configure the webhook rightly, PROJECT_NAME should be jenkins job name , not gitlab project name. |
@lazywhite Great to hear, that it fixed your issue. |
@djdevin Just to be sure I understand correctly. You upgraded the gitlab plugin, didn't you? |
@omorillo I did, that's actually why it broke. I missed the switchover to the Credentials system, so reinputting the API key based on the readme fixes it. |
Great! |
Hi, i am running into the same problem. I added the credentials based on the readme (secret text) and the connection test is working, but every call to https://mydomain.com/project/JENKINS_JOB_NAME results in a 404 on the jenkins server. The only difference is that i run jenkins: 2.10 Any other idea? |
@bert2002 to figure out what's happening it would be helpful to have some logs. Please have a look to the user support section how to enable logging for the GitLab plugin. |
I found a workaround. I downgraded the gitlap-plugin to 1.1.32. I know thats not a solution, but at least its working now. |
@bert2002
So in my case, the fix was just to configure directly the link starting with https in gitlab, and then avoiding the redirect I have submitted an issue to gitlab https://gitlab.com/gitlab-org/gitlab-ce/issues/19696 |
I found that the WebhooksURL can not be "localhost" or "127.0.0.1", please find your IPv4 address. |
First of all have a look o Jenkins logs in order to check if it receives the Hook.
In case you are accessing your Jenkins/Git with HTTP, add your webhook as provided by Jenkins on project settings and uncheck In case you have HTTPS
Also on Jenkins project configuration on Build Triggers/Build when a change is pushed to GitLab. That should work for you. |
Dear experts, Please help/suggest . |
Any news on that? I am facing the same issue. |
any updates? |
I am facing the same. Did anyone find the solution? |
Software Versions
gitlab: 8.3
jenkins: 2.8
jenkins-gitlab-plugin: 1.2.3
Configs
repo_address: http://gitlab.xxx.com/white/jenkins_test.git
webhook: http://x.x.x.x:5000/project/jenkins_test
Logs
problem
I configured a jenkins job and can execute it manually, but webhook always return 404
The text was updated successfully, but these errors were encountered: