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

Default or Current flow target used for builds

If my repository workspace has 2 flow targets, one default and one current, then which flow target is used during the accept operation in a build?

Thanks.

0 votes

Comments

Last I saw this on 4.0.4 you got both



One answer

Permanent link
Sam is correct.  The builds work differently than a regular developer workspace -- it accepts from all flows, so it's important to ensure there are no conflicts on the components between flow targets, using scoped flows if needed.
See https://jazz.net/wiki/bin/view/Main/BuildFAQ#How_should_my_source_code_be_loa

1 vote

Comments

Thank you.  I grabbed the quote, to paste here.

"Multiple flow targets are also supported, in which case the build workspace gets the union of their contents. The only restriction is that there be no overlap between the targets' components. Such collisions can be avoided by configuring scoped flows in the workspace editor."

This is really good to keep in mind in configuring my build strategy.

However, now I'm thinking about the use case where a typical developer, not a release engineer, has multiple flow targets (for whatever reason) and they don't know about this behavior.

So, say a developer have 2 flow targets for his workspace, and they are not scoped, meaning that both flow targets include all components and they overlap.  They request a personal build, override the workspace configured for the build definition, and expect the build to take from their current flow target.  With overlapping components what will happen? 

Thanks.

they will get a warning message, and usually junk output from the build. (depending on the resulting conflicts of course). I don't know if there are any precedence rules on the order of which targets are used.  it might be sequential.

A personal build does not run an accept/replace, it just does the load of the given dev workspace.

doah, of course.. personal means use my workspace!..  sorry I missed that.

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,121
× 562

Question asked: Jun 22 '14, 8:02 a.m.

Question was seen: 4,577 times

Last updated: Jun 23 '14, 10:25 a.m.

Confirmation Cancel Confirm