It's all about the answers!

Ask a question

Cache proxy setup for RTC command line load operations


vinay kumar bondugula (7322972) | asked Dec 12 '19, 11:38 a.m.

 Hi,


We are loading RTC workspace from command line during builds. Our cmd script run “scm load …..” <o:p> </o:p>

<o:p>   </o:p> How do we setup proxy in this case, i.e., make load command to use RTC caching server.

<o:p> </o:p>

<o:p>   </o:p> Some group do change in Jenkins slave setting and specify proxy server but I think that is applicable in case Jenkins-RTC plugin is used to load RTC workspace.

<o:p> </o:p>

Please share respective procedure to address the request.

Thanks,

Vinay

Accepted answer


permanent link
Shashikant Padur (4.3k27) | answered Dec 16 '19, 3:23 a.m.
JAZZ DEVELOPER
edited Dec 16 '19, 3:24 a.m.

I believe you are asking how to setup a content caching proxy server. It does not matter if you us CLI or Eclipse client or Visual Studio client because all these clients can go through the proxy server. Here is an article that explains how to setup it up: https://jazz.net/library/article/325

vinay kumar bondugula selected this answer as the correct answer

Comments
vinay kumar bondugula commented Dec 16 '19, 5:06 a.m.

Hi Shashikant,


Thank you.

We did configured the squid proxy and trying to connect to the caching server using command line. Currently we are able to configure caching server in Eclipse and visual studio but unable to find procedure to configure when we are using CLI i.e. scm/lscm.

Hope you understood the requirement.

Regards,
Vinay


Shashikant Padur commented Dec 16 '19, 5:47 a.m.
JAZZ DEVELOPER
Assuming you have setup for Visual Studio, it should be the same for CLI. The below paragraph from the article mentions that:
For the Jazz SCM command line and Visual Studio client, you can configure your terminal or command window to take advantage of a forward proxy by setting one of two environment variables prior to executing the command line.  If using http, set the environment variable http_proxy to “http://<yourproxyhost>:<yourProxyPort>”.   If using HTTPS, set the environment variable https_proxy to “https://<yourproxyhost>:<yourProxyPort>”.

If you have done the above, do you see any error?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.