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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: