We are trying to connect Jenkins to Azure so we can build what we have in Jenkins through Azure. We are using a local machine not a VM. It operates on Windows 10. When trying to verify the service connection we get this error:

Failed to query service connection API: 'http://:8080/api/json?tree=jobs[name,displayName]'. Error Message: 'An error occurred while sending the request.'

(Note we have entered the correct but for privacy purposes we have removed it from this ticket.) From our research, we believe it is a firewall issue potentially but are unsure of a work around. For security purposes, we cannot take down the firewall that is currently set up. We have also looked into opening the right ports for the connection but have still gotten this error. Any ideas of how to resolve this would be greatly appreciated!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.