Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Cache proxy setup for RTC command line load operations

 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

0 votes


Accepted answer

Permanent link

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

0 votes

Comments

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

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,130

Question asked: Dec 12 '19, 11:38 a.m.

Question was seen: 1,085 times

Last updated: Dec 16 '19, 5:47 a.m.

Confirmation Cancel Confirm