am new to Jenkins and is searching for one answer. Iam trying to configure Jenkins with Gitlab and is facing issues when I add Webhooks or Jenkins CI Integration in Gitlab. Gitlab is not able to connect to Jenkins. Also when I close Jenkins, the build is not running at the scheduled intervals by build trigger.
I tried adding the Jenkins CI Url and secret token obtained from Jenkins, but when I test the hook, it shows this error 404
Any help is appreciated.
I don't see this option Also on Jenkins project configuration on Build Triggers/Build when a change is pushed to GitLab. by pressing the advanced button you will find Secret Token Generate a token and insert it on the GitLab Webhook settings.
That should work for you