It's all about the answers!

Ask a question

Build Forge integrated build definition builds every time


Spencer Murata (2.3k115971) | asked May 24 '12, 3:02 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
edited Jun 04 '12, 9:38 a.m.
A Build Forge integrated build definition is being built every time even though the "build only if there are changes accepted" option is selected. Why is the build definition not building ONLY when there are changes accepted?

Accepted answer


permanent link
Spencer Murata (2.3k115971) | answered May 24 '12, 3:05 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
The Build Forge integration does not care about the Jazz SCM participant by itself. The Build Forge build must call the JazzJBE adaptor on the Build Forge side. To delete the build on the RTC side after the build then, the adaptor must be linked on the Build Forge side. Otherwise the builds will persist on the RTC side even if no changes were accepted.

A Build Forge integrated build definition is being built every time even though the "build only if there are changes accepted" option is selected. Why is the build definition not building ONLY when there are changes accepted?
Spencer Murata selected this answer as the correct answer

One other answer



permanent link
SUNIL KUURAM (6431923) | answered Mar 16 '13, 9:14 p.m.

Wouldn't it be unnecessary/inefficient to trigger unnecessary build cycles in Buildforge? Can't the build engine/scheduler in RTC check if there are source changes and initiate builds accordingly?

Thanks
Sunil

Comments
Spencer Murata commented Mar 18 '13, 8:27 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

 Someone has to execute the CI build to determine if a build is necessary.  It will either be the JBE or BF.  This mechanism is easier to implement since you don't need to link starting a build directly from JBE, but rather let BF manage the entirety of the build and just let JBE determine the status of the build.


So its not unnecessary, its just a matter of which order they will execute in.

~Spencer

Your answer


Register or 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.