Jenkins CVS

126 views
Skip to first unread message

Suraj Nair

unread,
Jun 6, 2013, 8:08:03 PM6/6/13
to jenkins...@googlegroups.com
Hello,

I am running Jenkins on a WAS Server and trying to connect to CVS remote repository.
From logs I saw 'cvs-d :pserver' command was executed by the plugin which is expecting cvs in class path.

I don't have a cvs executable in the WAS Solaris server
Is there anyway way to connect to a remote repository other than getting CVS executable in local system and configuring the class path or pointing the absolute path.

I was surprised to see there is no native java lib plug-in for CVS

Regards
Suraj S Nair

Michael Clarke

unread,
Jun 7, 2013, 1:57:40 AM6/7/13
to jenkins...@googlegroups.com
Suraj,

The CVS plugin has used a java library for CVS connections since version 2.0. Please ensure you've upgraded to the latest CVS plugin and then try again.

Thanks
Michael
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Suraj Sadasivan Nair

unread,
Jun 7, 2013, 5:41:06 AM6/7/13
to jenkins...@googlegroups.com
Michael

I used the latest LTS version 1.509 with packaged CVS plugin version. I think the version of CVS plugin is 2.9

The stack trace is when I build the project is

Building in workspace <http://test.com/url/blah/>
[workspace] $ cvs -Q -z3 -d :pserver:suraj@cvshost:12311/usr/local/myproj co -P -d ABCDWeb -D "Thursday, June 6, 2013 8:40:08 PM UTC"
java.io.IOException: Cannot run program "cvs" (in directory "/path/to/CI/Home/workspace"): error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
        at hudson.Proc$LocalProc.<init>(Proc.java:244)
        at hudson.Proc$LocalProc.<init>(Proc.java:216)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:763)
        at hudson.Launcher$ProcStarter.start(Launcher.java:353)
        at hudson.Launcher$ProcStarter.join(Launcher.java:360)
        at hudson.scm.CVSSCM.run(CVSSCM.java:1032)
        at hudson.scm.CVSSCM.run(CVSSCM.java:1040)
        at hudson.scm.CVSSCM.checkout(CVSSCM.java:466)
        at hudson.scm.CVSSCM.checkout(CVSSCM.java:384)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:1367)
        at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:674)
        at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:579)
        at hudson.model.Run.execute(Run.java:1575)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:237)
Caused by: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)


Did I miss anything? I use the ':pserver:user@host:port/path/to/cvsroot' in the project configuration.
Repository has no passwords at this time.

Let me know if you need any more information

Regards
Suraj S Nair



--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/4TJN7A7HrZA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages