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

Problems in integrating the RTC3.0.1 with Hudson

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.

0 votes


Accepted answer

Permanent link
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

2 votes


One other answer

Permanent link
I wrote an article about the new Hudson/RTC integration available in RTC 4.0.  It is viewable here:

~Spencer

0 votes

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
× 10,937
× 562
× 20

Question asked: Apr 18 '11, 9:29 p.m.

Question was seen: 6,788 times

Last updated: Aug 16 '12, 9:28 a.m.

Confirmation Cancel Confirm