I have set up Jenkins in Azure VM. Now, How can I integrate Azure DevOps Service hook to Jenkins. I want to trigger Jenkins Job when anyone pushes the code in the Azure DevOps repository. I am getting below error "Jenkins query failed with exception 'A connection attempt failed because the connected party did not respond after a period of time Or Established connection failed because connected host has failed to respond'" while setup service hook. I have gone through the "https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins?view=azure-devops" link but it's not working.
0
votes
1 Answers
0
votes
Integrate Azure DevOps to Jenkins
According to the error messages, it shows that Azure devops did not successfully connect Jenkins.
To resolve this issue, just like 4c74356b41 commented, you should make sure you could access the Jenkins from the public internet. You can check following document for some more details:
Then you can add Jenkins queue job task in the pipeline, and verify the connection via this task:
Hope this helps.
