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

Using the CLI in RTC, how do I create a Unique Repository Workspace Name for each build<

Using the CLI in RTC, how do I create a Unique Repository Workspace Name for each build? My area runs a daily build consisting of changesets for a product for one days work. I have a single build definition today, with a single repository workspace name, for ex.,WLV25DB DEVELOPMENT aar25 Workspace. This will allow me to keep only the latest set of source parts and listings for one days build. I would like to be able to programmatically create a uniquely named repository workspace for each daily build, name the workspace with an identifying character and date/time, that would contain the changsets for each days build, then execute the build definition to generate the text decks needed. Can you help me accomplish this?

0 votes



One answer

Permanent link
You don't, you use one repu workspace and if it is a public build you create a snapshot.

1 vote

Comments

If you want to do this - which is absolutely pointless, because the repository workspace is ont relevant - the snapshots and baselines are, and you can recreate a repository workspace from it - you can use the SCM commandline for it. I am not sure how you would change the workspace the build uses.

However, I am convinced that this is not what you really want to do and that you have not understood how RTC build works and why you don't need to create these workspaces. You should try to understand that first. From my perspective run the build on the same workspace and creating a snapshot is what you are really after.

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
× 1,204
× 87

Question asked: Jul 31 '15, 4:37 p.m.

Question was seen: 2,963 times

Last updated: Aug 01 '15, 9:35 a.m.

Confirmation Cancel Confirm