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

Can you specify a workspace name in the requestTeamBuild ant task, or equivalent API?

I am planning to configure our build to compile some components as sub-builds, however this approach appears to make it hard to reproduce the build with a personal build.  To make it more usable I would like to specify a workspace name when requesting a build.  I don't think this is possible from the requestTeamBuild ant task, but is there another API or CLI available?

Description of Production Build:
1. Build A starts, accepts all changes, and extracts from dedicated workspace A
2. Build A requests build B to start using dedicated workspace B.
3. Build B starts, accepts all changes, and extracts from dedicated workspace B.
3. Build A waits for build B
4. Build A completes

Note: Changes from the stream flow to workspace A and changes from workspace A flow to workspace B

I don't know how to provide this same process to users as a personal build.  The user will be able to specify a workspace for build A in the UI, but I can't figure out an easy way for them to specify a workspace for build B.  It seems like each user would need to create a new build definition for their personal build B so they could specify their workspace in their build definition.

Thanks, Craig

0 votes



One answer

Permanent link
Check this ant task:
https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.build.doc%2Ftopics%2Fr_requestBuild.html

Thought you could set personalBuild=yes in your ant task and pass below property to tell which workspace to use:

${team.scm.workspaceUUID}

3 votes

Comments

Thanks, this works.

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
× 12,025
× 63
× 25

Question asked: Jun 14 '12, 1:58 a.m.

Question was seen: 5,861 times

Last updated: Jun 15 '12, 10:41 a.m.

Confirmation Cancel Confirm