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

Wrong "svn info" command causes error when checking out subversion project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: PC, OS: Windows XP

      When I try the 1st build of my project, the "svn co" command works, but after
      that a "svn info trunk" is issued, which should be only "svn info" (no "trunk"),
      because there´s no "trunk" directory since I am already downloading the code
      from trunk. I suspect this is caused by a erroneous CVS behavior inheritage.

      Here´s the console output:

      [workspace] $ svn co -q --non-interactive https://trac/svn/infopae/trunk
      $ svn info trunk
      ERROR: no revision in the svn info output
      java.io.IOException: no revision in the svn info output
      at hudson.scm.SubversionSCM$SvnInfo.parse(SubversionSCM.java:222)
      at hudson.scm.SubversionSCM.buildRevisionMap(SubversionSCM.java:246)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:162)
      at hudson.model.Project.checkout(Project.java:252)
      at hudson.model.Build$1.run(Build.java:134)
      at hudson.model.Run.run(Run.java:460)
      at hudson.model.Build.run(Build.java:116)
      at hudson.model.Executor.run(Executor.java:54)

            Unassigned Unassigned
            demetriusnunes demetriusnunes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: