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

CVS - Does not detect changes when the branch name is a variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cvs-plugin
    • None

      When checking out a module from a branch and the branch name is a variable, the plugin does not detect the changes.

      I have a job that has for the branch name a variable defined in Jenkins at System level (Jenkins -> configuration -> Global properties), hence this variable is always defined (even when polling, cf JENKINS-18209).

      During the checkout (and the polling) the branch name is properly expended (fixed by JENKINS-2318), but when computing the changes, everything returned by rlog is discarded. The check performed in CvsLog.java:401 compares the branch the modification was made on (returned by rlog) against the branch name defined in the job. At that moment it compares with the variable, and not the expanded variable.

            Unassigned Unassigned
            mb Denis Gauthier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: