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

which version of RTC am I running?

I'd like to be able to check which version of server (RTC and RQM) I'm running, from within a shell script. Is it safe to run repotools.sh and use the version number from the first line of the output, or will this only tell me which version of repotools I'm using?

0 votes



One answer

Permanent link
I'd like to be able to check which version of server (RTC and RQM) I'm
running, from within a shell script. Is it safe to run repotools.sh
and use the version number from the first line of the output, or will
this only tell me which version of repotools I'm using?

I believe it is the repotools version.
Maybe you could use curl to fetch the information from the server. The
following URL provides the version among other things:

https://<server>/jazz/service/com.ibm.team.repository.service.internal.IServerStatusRestService/serverInfo

If you have to deal with form based authentication, you can log in using
curl as well:

COOKIES=./cookies.txt
HOST=https://localhost:9443/jazz
....
curl -k -c $COOKIES -d j_username=$USER -d j_password=$PWD
$HOST/j_security_check

--
Regards,
Patrick
Jazz Work Item Team

1 vote

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

Question asked: Mar 11 '09, 8:20 a.m.

Question was seen: 5,078 times

Last updated: Mar 11 '09, 8:20 a.m.

Confirmation Cancel Confirm