Execute Command and proxy environment

I found a “good” solution for me which is the following

Execute Command   export NO_PROXY=${NO_PROXY} && /opt/jf rt ping

I just define a variable with NO_PROXY having the internal-network there (which includes the artifactory server) and in this case NO_PROXY will be used for jfrog-cli as it is NOT needed because artifactory is an internal server and proxy shall be used for anything “external”.

I tired it out and it is working - so don’t need to use “Write/Read” but i have to do the export NO_PROXY as the shell is a non-interactive when using Execute Command.

Thx all for the quick reply and help.

1 Like