...
Code Block |
---|
language | bash |
---|
title | Steps to build ONOS with a web proxy |
---|
|
export HTTPS_PROXY=https://<proxy address>:<proxy port>
export HTTP_PROXY=http://<proxy address>:<proxy port>
bazel build onos --action_env=HTTP_PROXY=$HTTP_PROXY |
Executing ONOS unit tests behind a web proxy
Bazel supports executing unit tests behind a web proxy. Here are the steps to test with a proxy:
Code Block |
---|
language | bash |
---|
title | Steps to test ONOS with a web proxy |
---|
|
export HTTPS_PROXY=https://<proxy address>:<proxy port>
export HTTP_PROXY=http://<proxy address>:<proxy port>
bazel query 'tests(//...)' | xargs bazel test --action_env=HTTP_PROXY=$HTTP_PROXY |