Open ajimeneg opened 3 years ago
There is no support yet for running the CLI with proxy settings for http and https traffic. Suggestions through contributions however are welcome.
We had an issue with this. Under the hood, it appears Node is what is making calls out to the internet, so as long as Node is correctly configured for your proxy, you should be good.
Edit: I realized after my initial comment that not all proxies work the same. Our traffic is routed through the proxy automatically, our problem is the cert for the proxy causing HTTPS connections to fail (man in the middle scenario). When Node has the additional cert configured, SFCC-CI will work just fine.
Hi,
I'm trying to use sfcc-ci in a Jenkins linux machine which is behind a proxy. I tried setting the proxy this way before the auth (groovy jenkins file):
sh 'export HTTP_PROXY="http://myproxy.example.com:8080"' sh 'export HTTPS_PROXY="http://myproxy.example.com:8080"' sh 'export http_proxy="http://myproxy.example.com:8080"' sh 'export https_proxy="http://myproxy.example.com:8080"' sh 'export PROXY="http://myproxy.example.com:8080"' sh 'export proxy="http://myproxy.example.com:8080"'
but it is not working. The communication through my proxy to account.demandware.com and to my sandboxes should be open though.
I already checked the sfcc-ci source code, but I couldn't find anything related to setting a proxy.
Is there any way to make sfcc-ci run through a proxy server?
Thanks
Greetings Antonio