Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Problem with CVS plugin(Logging and tagging does not work)
Problem with CVS plugin [message #1024400] Tue, 26 March 2013 07:31 Go to next message
k z is currently offline k z
Messages: 71
Registered: October 2012
Member
Hi,

Two questions regarding CVS plugin:

1. How can I enable logging for this plugin? I added logger "hudson.scm.CVSSCM", log level = "all" to the log recorders but the log in always empty ?
2. When I'm trying to tag the successfull build with 'Tag this build button' and provide tag name I got screen witj Tagging is in progress: text and "Clear error to retry" button. Nothing else happened. I dont know what the error is because logging does not work

My envs
Hudson 2.2.0 with CVS 2.2.2
Hudson 3.0.1 with CVS 2.2.0

Regards!
Re: Problem with CVS plugin [message #1027158 is a reply to message #1024400] Tue, 26 March 2013 16:19 Go to previous messageGo to next message
Bob Foster is currently offline Bob Foster
Messages: 74
Registered: January 2013
Member
According to Steve Christou, your problem is permissions. You need to set everyone, including anonymous, to read/update.
Re: Problem with CVS plugin [message #1039563 is a reply to message #1027158] Fri, 12 April 2013 09:50 Go to previous messageGo to next message
k z is currently offline k z
Messages: 71
Registered: October 2012
Member
Hi,

I have master/slaves environment and it is secured. When I granted almost all possible privileges to anonymous user, the tagging process started then failed. THe error message says that there is no cvs installed on the machine which indicates that the tagging process started on the master, not on the slave. It's just a quess because the log does not say anything about the machine.

Why anonymous access is required? Can it be fixed? If no then this functionality is useless on secured Hudson instances.
And if this can be fixed, can the tagging process take place on the machine the build took place? I'd like to avoid installing build specific tools on the server.

Tagging javabase_trunk #321 as hudson-321
expanding the workspace archive into /tmp/tomcat6-tmp/hudson5415087943042543195tmp
tagging the workspace
[javabase] $ cvs tag -R hudson-321
FATAL: Cannot run program "cvs" (in directory "/tmp/tomcat6-tmp/hudson5415087943042543195tmp/javabase"): java.io.IOException: error=2, No such file or directory
java.io.IOException: Cannot run program "cvs" (in directory "/tmp/tomcat6-tmp/hudson5415087943042543195tmp/javabase"): java.io.IOException: error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
	at hudson.Proc$LocalProc.<init>(Proc.java:187)
	at hudson.Proc$LocalProc.<init>(Proc.java:157)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:649)
	at hudson.Launcher$ProcStarter.start(Launcher.java:266)
	at hudson.Launcher$ProcStarter.join(Launcher.java:273)
	at hudson.scm.CVSSCM.run(CVSSCM.java:575)
	at hudson.scm.CVSSCM.run(CVSSCM.java:585)
	at hudson.scm.TagAction.createTag(TagAction.java:315)
	at hudson.scm.TagAction.perform(TagAction.java:274)
	at hudson.scm.TagAction$TagWorkerThread.perform(TagAction.java:371)
	at hudson.model.TaskThread.run(TaskThread.java:113)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
	at java.lang.ProcessImpl.start(ProcessImpl.java:81)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
	... 11 more
cleaning up /tmp/tomcat6-tmp/hudson5415087943042543195tmp


Regards!
Re: Problem with CVS plugin [message #1046784 is a reply to message #1039563] Mon, 22 April 2013 11:09 Go to previous message
k z is currently offline k z
Messages: 71
Registered: October 2012
Member
Hi,
Any chance fix for this issue got into your backlog? Even though cvs may be seem as out of date technology, it is still in use in many projectes and is here to stay. Besides, it'd be great if you ship necessary fixes rather than new functionality.
Regards!
Previous Topic:Maven3 build exception
Next Topic:Hudson with HTTPS
Goto Forum:
  


Current Time: Thu Oct 23 18:11:37 GMT 2014

Powered by FUDForum. Page generated in 0.01629 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software