Jump to content

Using plasticscm with Hudson CI in remote server


esthrim

Recommended Posts

Hello,

 

I want to use plasticscm with Hudson CI, but  my Hudson Server is hosted in another server. 

i already tried to follow these steps from this site

 

and  it gives me error 

 

[workspace] $ cm lwk --format={0}#{1}#{2}

java.io.IOException: Cannot run program "cm" (in directory "/root/.hudson/jobs/plastictest/workspace"): error=2, No such file or directory

    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)

    at hudson.Proc$LocalProc.<init>(Proc.java:187).....

 

my hudson server is running on linux and using apache tomcat

 

do i must host the hudson  server on localhost ??  or is there any way around ??

 

Thanks

Link to comment
Share on other sites

Hi!

 

seems that the "cm" tool can't be found. You can check the following:

 

1) Check the PATH variable, make sure it's inside it.

2) Check the Hudson user that is running the cm process is able to run it... permissions... PATH variable....

3) Check the Hudson user that is running the cm process is having the cm client configured, a "cm lrep" command using the hudson user account should return you the server repositories.

 

Best regards.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...