Open mikador opened 5 years ago
@mikador Do you have other java applications in your environment that are configured to deal with this proxy? I have to admit I have limited experience dealing with proxies like this, especially from Jenkins itself.
Figured I should take a look at this. I checked out some of the apache code for using a request proxy, looks like we need to create a RequestConfig
object here: https://hc.apache.org/httpcomponents-client-4.5.x/httpclient/examples/org/apache/http/examples/client/ClientExecuteProxy.java.
I think this would make sense in the global plugin configuration object, potentially putting something optional in here: https://github.com/jenkinsci/service-now-plugin#required-parameters.
I'll take a look this weekend if I have a chance.
Just created a PR for this. My tests were successful ☺️
Hi,
From our Jenkins machine we need to connect to the outside world via proxy. I'm trying to use this plugin but does anyone have it working in such configuration or has it some issue?
When I do curl from bash command to service-now instance, all looks ok :
but when I try to use the plugin to create change based on template (producerId) in Jenkins pipeline this way:
I'm getting this:
It cannot connect to service-now.com. What would be the way to solve that? Can anyone help please?