Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18522

Cannot check out CVS module using legacy mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • cvs-plugin
    • None
    • Windows Server 2008 R2 Standard
      CVS plugin version 1.6
      Tortoise CVS

      We have a lot of legacy projects that are stored in CVS. We use Windows in house and SSPI to authenticate. I am almost able to get a working setup with Jenkins but I have one missing piece - checking out from cvs.

      Conceptually our setup:
      CVS Module structure:
      /ThirdParty/...
      /Applications/...
      /Libraries/lib1/
      /Libraries/lib2/

      I cannot use the current CVS plugin because it doesn't support SSPI, so I downgraded to version 1.6. With this version I use the legacy mode to checkout, because I need the directory structure to stay intact. This works and everything checks out, but then it appears to error looking for the changes. There is no CVS folder created at the root of the project structure and that's where it executes the command, so it dies not finding any changes.

      Console log:

      Building in workspace D:\bin\Jenkins\web.subject
      [web.subject] $ cvs -Q -z3 -d :sspi:vsbuild:/sw_development co -P -D "Wednesday, June 26, 2013 8:01:43 PM UTC" Web.SubjectAssessmentForm
      $ computing changelog
      cvs log: in directory .:
      cvs [log aborted]: there is no version here; do 'cvs checkout' first
      ERROR: cvs exited with error code 1
      Command line was [Executing 'cvs' with arguments:
      '-d:sspi:vsbuild:/sw_development'
      'log'
      '-S'
      '-d'
      '>=2013-06-25'
      'Web.SubjectAssessmentForm'
      
      The ' characters around the executable and arguments are
      not part of the command.
      ] in D:\bin\Jenkins\web.subject
      Input text:
      START==>null<==END
      Working directory is D:\bin\Jenkins\web.subject
      cvs exited with error code 1
      Command line was [Executing 'cvs' with arguments:
      '-d:sspi:vsbuild:/sw_development'
      'log'
      '-S'
      '-d'
      '>=2013-06-25'
      'Web.SubjectAssessmentForm'
      
      The ' characters around the executable and arguments are
      not part of the command.
      ] in D:\bin\Jenkins\web.subject
      Input text:
      START==>null<==END
      	at hudson.org.apache.tools.ant.taskdefs.AbstractCvsTask.runCommand(AbstractCvsTask.java:387)
      	at hudson.org.apache.tools.ant.taskdefs.AbstractCvsTask.execute(AbstractCvsTask.java:457)
      	at hudson.org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask.execute(ChangeLogTask.java:293)
      	at hudson.scm.CVSSCM$4.invoke(CVSSCM.java:967)
      	at hudson.scm.CVSSCM$4.invoke(CVSSCM.java:887)
      	at hudson.FilePath.act(FilePath.java:905)
      	at hudson.FilePath.act(FilePath.java:878)
      	at hudson.scm.CVSSCM.calcChangeLog(CVSSCM.java:887)
      	at hudson.scm.CVSSCM.checkout(CVSSCM.java:429)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1369)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
      	at hudson.model.Run.execute(Run.java:1593)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:242)
      Finished: FAILURE

            mc1arke Michael Clarke
            srtelle Scott Telle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: