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

Jenkins/Hudson RTC Plugin

Hi all!

I've developed a new Jenkins plugin, based on scm comand line interface, that allow Jenkins to use RTC's SCM for Continuous Integration, and works with RTC 3.0.1 (I'm testing it with 2.0 right now). Probably it also works with Hudson, but I didn't have time to test it. Anyway, if anyone is interested in giving it a try:

https://wiki.jenkins-ci.org/display/JENKINS/Rational+Team+Concert+Plugin.

Right now the plugin does not return the build result back to RTC, but it will be the next feature to be implemented. Any feedback and/or sugestions are welcome.

Update: this plugin can be used with Hudson as well, but it's not integrated in the update center at this moment.

Regards,
Deluan

0 votes



4 answers

Permanent link
Hi Deluan,

that sounds great. I wish we had a better place to put this.

I think the build team is also looking into better Jenkins support. You might want to check the work items.

0 votes


Permanent link
Hi Ralph,

I'm new to the jazz.net site, and ain't finding the work items you mentioned. Can you tell me where to find them?

Thanks!

Hi Deluan,

that sounds great. I wish we had a better place to put this.

I think the build team is also looking into better Jenkins support. You might want to check the work items.

0 votes


Permanent link
This is easy,

click on the "Development" link in the menu of this site. there you can pick the project and browse the plans, dashboards and query and create work items. Hare is a quick link; https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWelcome

0 votes


Permanent link
I´ve a problem using this plugin on Jenkins, maybe I´m using wrong,
I´ve install rtc.hpi on Jenkins and the option to choose "scm" or "lscm" command doen´s appear.

I set the option and execute the scm command in a windows prompt and work, but when I try to use in RTC doesn´t

Anybody could help me?

but folow log.

Started by user sb015742
$ scm load "Build ST_PIL_Desenvolvimento Workspace" -u ******** -P ******** -r https://hsfbsv0067.hsa.local:9443/ccm/ -d "D:\Jenkins\jobs\RTC generico-ear\workspace" -f
java.io.IOException: Cannot run program "scm": CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessBuilder.start(Unknown Source)
    at hudson.Proc$LocalProc.<init>(Proc.java:244)
    at hudson.Proc$LocalProc.<init>(Proc.java:216)
    at hudson.Launcher$LocalLauncher.launch(Launcher.java:707)
    at hudson.Launcher$ProcStarter.start(Launcher.java:338)
    at com.deluan.jenkins.plugins.rtc.JazzClient.joinWithPossibleTimeout(JazzClient.java:162)
    at com.deluan.jenkins.plugins.rtc.JazzClient.load(JazzClient.java:73)
    at com.deluan.jenkins.plugins.rtc.JazzSCM.checkout(JazzSCM.java:99)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
    at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:568)
    at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:457)
    at hudson.model.Run.run(Run.java:1404)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:238)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(Unknown Source)
    at java.lang.ProcessImpl.start(Unknown Source)
    ... 15 more
Archiving artifacts
Email was triggered for: Failure
Sending email for trigger: Failure
An attempt to send an e-mail to empty list of recipients, ignored.
Finished: FAILURE

0 votes

Comments

you need to make sure that the path to the scm commands are in the environment launched for the Jenkins build agent.

on unix this uses a different profile script than .profile

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

Question asked: Nov 16 '11, 6:36 a.m.

Question was seen: 10,003 times

Last updated: Dec 05 '12, 1:44 p.m.

Confirmation Cancel Confirm