Polling RTC from within Hudson
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
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
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
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
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.
page 2of 1 pagesof 2 pagesof 3 pages