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

What's the mechanism to trigger a build in JBE?

We use Jenkins + Jazz RTC and want to know when JBE will trigger a build?

If we create 5 components in RTC and we only want to build one of the component.
We can use "Components to exclude" to exclude other components, it works.
But even we only load 1 component, if other components are changed, the build will still be triggered.
Is this a normal behavior?

Btw, is it possible to use "include component", not "exclude component"?
Because if there are lots of components, we need to exclude several components and change every components when we have a new component.

0 votes


Accepted answer

Permanent link
Hi Dennys,

The trick to this problem is to scope the flow of your build workspace.  Open your build definition's build workspace in the Eclipse UI.  Scroll down to the bottom and you'll see a section for Flow Targets.  You probably only have one stream listed as the one flow target for your build workspace, select it and click Edit...  By default, the "Flow all components" radio button will be selected.  Instead, select "Flow only components checked below" and deselect all components except the one(s) you want to accept from, load and build.  It sounds like this is exactly what you need.

You may be able to clear the "Components to exclude" field now.
Scott
dennys hsieh selected this answer as the correct answer

2 votes

Comments

You may also want to subscribe to or comment on the following enhancement request: Provide more control over whether a build proceeds when changes accepted into excluded component (205217)

It works, thanks. 

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,020
× 151

Question asked: Dec 18 '13, 2:05 a.m.

Question was seen: 4,248 times

Last updated: Dec 18 '13, 10:59 p.m.

Confirmation Cancel Confirm