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

CVS password causes CVSSCM.isUpdatableModule() to yield incorrect result

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      If a hudson project includes a username and password in the root (e.g.
      :pserver:USER:PWD@host:/cvsroot). However, CVS (or at least the version we use -
      CVSNT 2.5.03) does not store the password in the CVS/Root file. The comparison
      between the project defined root and the root in CVS/Root
      (:pserver:USER@host:/cvsroot) is therefore always false and causes project to be
      refreshed completely and built every night.

      Suggested solution: Only compare password if password is specified in the
      CVS/Root folder.

      Logging suggestion: Log the reason why isUpdatableModule() returns false. There
      is absolutely no indication of why the server builds the same project over and
      over again. The only way I could trace this was to actually find the message in
      source code and work my way back in the code.

        Attachments

          Activity

            People

            Assignee:
            mc1arke Michael Clarke
            Reporter:
            john_bester_attix5 john_bester_attix5
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: