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

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

1

0 votes


Accepted answer


24 other answers

Permanent link

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

0 votes


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

0 votes


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

0 votes


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

0 votes


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

0 votes


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

0 votes


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

0 votes


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

0 votes


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

0 votes


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

0 votes

1–15 items
page 2of 1 pagesof 2 pagesof 3 pages

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
× 20

Question asked: May 13 '10, 6:01 a.m.

Question was seen: 33,347 times

Last updated: Aug 16 '12, 12:38 p.m.

Confirmation Cancel Confirm