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

Removing file in cvs repository prevents build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cvs-plugin
    • None
    • Platform: All, OS: All

      If a file is no longer found in the repository (because it has been moved, in
      this case), the cvs log command will fail and the build will not take place:
      -----------------------------------------------------------------------------
      started
      [DM] $ C:\usr\local\bin\cvs.exe -q -z3 update -PdC -D "Tuesday, June 10, 2008
      9:37:44 PM UTC"
      ? baselines/DMjutil/src/DMversion.properties
      cvs update: baselines/DMnet/main.cpp is no longer in the repository
      U baselines/DMnet/testsrc/main.cpp
      [nt] $ C:\usr\local\bin\cvs.exe -q -z3 update -PdC -D "Tuesday, June 10, 2008
      9:37:44 PM UTC"
      [DMtest] $ C:\usr\local\bin\cvs.exe -q -z3 update -PdC -D "Tuesday, June 10,
      2008 9:37:44 PM UTC"
      ? Tests/DMangleTests/Results_nt
      ? Tests/DMntf_tagTests/taglist.txt
      $ computing changelog
      cvs log: nothing known about main.cpp

      ERROR: cvs exited with error code 1
      Command line was [Executing 'C:\usr\local\bin\cvs.exe' with arguments:
      '-d:<repository name removed>'
      'log'
      '-d'
      '>=2008-06-09'
      '--'
      'DM/baselines/DMnet/main.cpp'
      'DM/baselines/DMnet/testsrc/main.cpp'

      The ' characters around the executable and arguments are
      not part of the command.
      -----------------------------------------------------------------------------

      It seems that the cvs log command should not include the file that no longer exists.

            mc1arke Michael Clarke
            kcarter kcarter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: