Jpm sign to support proxy

I am running jpm sign command programmatically to submit my addon for signing.
But the issue how to support running jpm sign command through proxy server?
How to export http_proxy and https_proxy before invoking jpm.
will it work running jpm sign command via proxy server?