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