Hello,
I am currently working on a use case where I want to trigger Jenkins jobs based on commit messages. Ideally, when I make a commit, it should trigger a script in the .git/hooks
directory, which in turn should start a Jenkins job. However, the Jenkins job is not starting.
I have also tried using Git webhooks through the UI, but I am receiving an exception: Last delivery was not successful. Failed to connect to host. Despite trying various solutions available online, I have not been successful.
Could you please suggest any solutions for this issue?