It's all about the answers!

Ask a question

Polling RTC from within Hudson


0
1
Jason Dean (1062168) | asked May 13 '10, 6:01 a.m.
retagged Aug 16 '12, 9:09 a.m. by Nhi P Ta (18841018)
Hi,

Has anyone come across a way to use Jazz/RTC as a SCM from within Hudson?

We use hudson extensively here and we have other source control systems in place (E.g. Perforce)

Hudson can poll Perforce for changes and trigger builds.

Is there a way to replace perforce with the RTC/Jazz SCM inside Hudson.

We are not interested in triggering builds from within RTC, just using Hudson like we do now but replacing Perforce SCM with RTC/Jazz SCM.

Cheers,

Jas

Accepted answer


24 other answers



permanent link
Jason Dean (1062168) | answered Jun 09 '10, 5:46 a.m.

Hi Jas,

I'm the creator of the Hudson Plugin that Nick mentioned above. I've finally managed to get everything together (along with a suitable level of documentation) so you can try out the plugin. Its not as fully featured as I'd like at the moment, but it does work, and we're using it extensively. Take a look, provide feedback, and even contribute at:

http://kenai.com/projects/cowley/

BTW, the instructions for use are at

http://kenai.com/projects/cowley/pages/Home

Hope you find it useful.

Cheers, Andrew


Thanks Andrew, I will try to look properly this week.

Jas

permanent link
Jason Dean (1062168) | answered Jun 09 '10, 6:44 a.m.
Andrew,

Is it possible to simplify this if we only want to use RTC as a SCM only, I.e. we are only interested in checking for changes and pulling the source.

Cheers,

Jas

permanent link
Andrew Harmel-Law (14612218) | answered Jun 09 '10, 1:31 p.m.
Andrew,

Is it possible to simplify this if we only want to use RTC as a SCM only, I.e. we are only interested in checking for changes and pulling the source.

Cheers,

Jas


hi Jas. I guess you could but I think the plugin would need a little tweaking as it currently expects to run in concert with a RTC build definition. One thing to bear in mind is that to create a "release" in RTC you need to have a successful RTC build. That's where the "RTC build result Notifier" element comes in. This tells RTC that the build you started on Hudson has completed. If you don't do this then you lose some of the nice RTC functionality.

However, it is open source so take a look and see what you can see. All proposals (and help) will be gratefully received).

Cheers for your interest.

Andrew

permanent link
mike brosnan (1011213) | answered Oct 12 '10, 10:06 a.m.
Andrew,

Is it possible to simplify this if we only want to use RTC as a SCM only, I.e. we are only interested in checking for changes and pulling the source.

Cheers,

Jas


hi Jas. I guess you could but I think the plugin would need a little tweaking as it currently expects to run in concert with a RTC build definition. One thing to bear in mind is that to create a "release" in RTC you need to have a successful RTC build. That's where the "RTC build result Notifier" element comes in. This tells RTC that the build you started on Hudson has completed. If you don't do this then you lose some of the nice RTC functionality.

However, it is open source so take a look and see what you can see. All proposals (and help) will be gratefully received).

Cheers for your interest.

Andrew


The build instructions do not match the code from SVN
http://kenai.com/projects/cowley/pages/Home

(This file does not exist in SVN,
jazz-proxy-common/src/main/resources/mvn_install_build_toolkit_jars-jazz_2.0.0.2.bat/.sh )

but I was able to modify the jazz-proxy-common POM to refer to the Jazz build toolkit jar names in the Toolkit version I have (2.0.0.2.iFix4)

I can compile the jazz-proxy-common jar and create the Hudson plugin, but I'm seeing the same issue as reported here

http://kenai.com/jira/browse/COWLEY-4

Anyone else have the same issue, is there a workaround?

regards

Mike.

permanent link
Maggie Stearns (1063027) | answered Oct 14 '10, 12:32 p.m.
I'm also looking for a copy of the
jazz-proxy-common/src/main/resources/mvn_install_build_toolkit_jars-jazz_2.0.0.2.bat/.sh

file to add the BUILD_ENGINE_PLUGIN_DIR variable definition.

If anyone has this, can you please post a copy?

-Thanks
Maggie

permanent link
Maggie Stearns (1063027) | answered Oct 14 '10, 12:33 p.m.
I'm also looking for a copy of the
jazz-proxy-common/src/main/resources/mvn_install_build_toolkit_jars-jazz_2.0.0.2.bat/.sh file to add the BUILD_ENGINE_PLUGIN_DIR variable definition.
If anyone has this, can you please post a copy?
Thanks
Maggie

permanent link
Maggie Stearns (1063027) | answered Oct 14 '10, 12:35 p.m.
I'm also looking for a copy of the
jazz-proxy-common/src/main/resources/mvn_install_build_toolkit_jars-jazz_2.0.0.2.bat/.sh file as described in
http://kenai.com/projects/cowley/pages/Home

If anyone has this, can you please post a copy?
Thanks
Maggie

permanent link
Maggie Stearns (1063027) | answered Oct 14 '10, 12:49 p.m.
I am also looking for the missing file:
mvn_install_build_toolkit_jars-jazz_2.0.0.2.bat/.sh file
If anyone has it, can you please post a copy?
Thanks in advance

permanent link
Maggie Stearns (1063027) | answered Oct 14 '10, 12:50 p.m.
I am also looking for the missing file:
mvn_install_build_toolkit_jars-jazz_2.0.0.2.bat/.sh file
If anyone has it, can you please post a copy?
Thanks in advance

permanent link
Maggie Stearns (1063027) | answered Oct 14 '10, 12:50 p.m.
I am also looking for the missing file: mvn_install_build_toolkit_jars-jazz_2.0.0.2.bat/.sh file If anyone has it, can you please post a copy? Thanks in advance

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.