Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CVS checkout on Jenkins via CVS plugin much slower than CVS checkout on command line or via post-build script

I have configured a Jenkins project (test_cvs) via the CVS plugin to checkout a folder; lets call it CVSFOLDER. The build reports the checkout command (on console output) as:

cvs checkout -D "29 Nov 2013 11:40:33 -0800" -d test_cvs CVSFOLDER

It takes 20 minutes for this checkout to complete. If I run the same command manually on the same machine and folder where Jenkins is running, it takes 4 minutes. Similarly, if I run the same command in a post-build script in Jenkins, it takes 4 minutes.

Does anyone know the reason that checking out via the CVS plugin takes 5x the time?

Thanks.

like image 353
user3050922 Avatar asked Nov 29 '13 23:11

user3050922


People also ask

How does the Jenkins CVS plugin integrate with the Concurrent Versions System?

The Jenkins CVS plugin integrates Jenkins with the Concurrent Versions System using a modified version of the Netbeans cvsclient. Refer to the CVS manual for more details about the Concurrent Versions System.

What's new in jenkins-7430?

JENKINS-7430, JENKINS-8875 Fix tagging on slave servers. JENKINS-3035 Added option to move tag if it already exists (cvs (r)tag -F). JENKINS-7851 Mark build as unstable if the tag command fails. Removed "-D" from "cvs rtag" command when tagging branches. Resolves issues JENKINS-2337, JENKINS-2553, JENKINS-2591,

How do I Checkout a CVS module?

For example, to checkout the example-tutorial module, change to your work directory, and execute the following command: A directory called example-tutorial/ is created in the current directory. If a branch name is not specified when checking out a module, it is referred to as the HEAD of the CVS module.

Why does my CVS status say checkout after removing a file?

You removed the file with the cvs remove command but have not yet committed the removal. A newer version of the file is on the server and needs to be retrieved. Even though the status includes the word checkout, it really means that you need to update your files with the cvs update command.


1 Answers

I guess the answer is because Jenkins uses it's own built in CVS client.

There are a few related open issues for this:

https://issues.jenkins-ci.org/browse/JENKINS-18539

https://issues.jenkins-ci.org/browse/JENKINS-18330

like image 129
kmiles Avatar answered Oct 18 '22 02:10

kmiles