It's all about the answers!

Ask a question

Problems in integrating the RTC3.0.1 with Hudson


alex sha (111) | asked Apr 18 '11, 9:29 p.m.
edited Aug 16 '12, 9:27 a.m. by Spencer Murata (2.3k115971)
I am a staff of IBM. These days our team try to integrate the RTC3.0.1 with the Hudson. But these is only an article about the integration ( http://jazz.net/library/article/350 ) and the article's RTC version is 2.0. We follow the introduction to configure the RTC and Hudson, but it doesn't work. We hope our colleagues can update the article's RTC version to 3.0.1.

The Err log is:
com.ibm.team.build.common.TeamBuildException: Request for build "JUnit_Hudson_1032" does not include a configuration element for the BUILD phase. The Jazz build engine does not support a generic build definition with no builder.
at com.ibm.team.build.internal.engine.BuildLoop.validateBuilder(BuildLoop.java:935)
at com.ibm.team.build.internal.engine.BuildLoop.runLoop(BuildLoop.java:327)
at com.ibm.team.build.internal.engine.BuildLoop$1.run(BuildLoop.java:207)
at java.lang.Thread.run(Thread.java:811)

Thanks very much!
We are waiting for your help.

Accepted answer


permanent link
Brent Ulbricht (2.5k11) | answered Apr 19 '11, 1:30 p.m.
JAZZ DEVELOPER
I am a staff of IBM. These days our team try to integrate the RTC3.0.1 with the Hudson. But these is only an article about the integration ( http://jazz.net/library/article/350 ) and the article's RTC version is 2.0. We follow the introduction to configure the RTC and Hudson, but it doesn't work. We hope our colleagues can update the article's RTC version to 3.0.1.

The Err log is:
com.ibm.team.build.common.TeamBuildException: Request for build "JUnit_Hudson_1032" does not include a configuration element for the BUILD phase. The Jazz build engine does not support a generic build definition with no builder.
at com.ibm.team.build.internal.engine.BuildLoop.validateBuilder(BuildLoop.java:935)
at com.ibm.team.build.internal.engine.BuildLoop.runLoop(BuildLoop.java:327)
at com.ibm.team.build.internal.engine.BuildLoop$1.run(BuildLoop.java:207)
at java.lang.Thread.run(Thread.java:811)

Thanks very much!
We are waiting for your help.


Hi,

The exception occurs because the Jazz Build Engine (JBE) is picking up a build request. When running with Hudson, you want to start the build from Hudson and when Hudson is running the build for it to report back to RTC the results and publish any contributions (logs, downloads, test results) to the RTC build result. The Ant build script supplied in the article has the statements to perform these tasks.

Therefore, I would recommend not to submit a build request for the Hudson build in RTC but to start it in Hudson. Also, if you need a JBE to be running for processing other builds that the engineId be set to something other than the build engine that was created for the Hudson build. If you don't need to process builds that run through the JBE at all (you only have Hudson based builds), then you could shut down the JBE.

Brent Ulbricht
Developer/Lead - RTC Build
Spencer Murata selected this answer as the correct answer

One other answer



permanent link
Spencer Murata (2.3k115971) | answered Aug 16 '12, 9:28 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
I wrote an article about the new Hudson/RTC integration available in RTC 4.0.  It is viewable here:

~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.