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

CVS plugin 2.1 does not detect changes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:

      Description

      As presented in the user group: https://groups.google.com/forum/?fromgroups#!topic/jenkinsci-users/Dvv0I3FBNW4

      We've been running Jenkins 1.451 and 1.454 on Windows XP against a CVS repository for a few weeks now, without any problems. The CVS plugin (v1.6) was using the local cvsnt install.

      We've since upgraded the CVS plugin to version 2.1 (by manually pinning the plugin) and since then, CVS changes are not detected. The CVS polling log is triggered properly, tons of "cvs rlog" instructions are sent, but at the end "No changes" is displayed.

      Using CVS plugin 1.6 the cvs polling command looked like this (executed at 5:26:21 PM EDT):
      cvs -q -z3 -n update -PdC -r d-chg00014229_op_brc_preimp-op-2012-02-27 -D "Thursday, March 22, 2012 9:26:21 PM UTC"

      Using CVS plugin 2.1, the last cvs checkout command looked like this (executed at 11:56:16 AM EDT):
      cvs checkout -P -r d-chg00014229_op_brc_preimp-op-2012-02-27 -D 23 Mar 2012 11:56:16 EDT -d portailInt portailInt

      We're in Montreal, so Eastern Time Zone with Daylight Saving Time in effect.

      1. rlog.txt
        2.95 MB
        Guillaume Bilodeau

        Activity

        Hide
        amofpers Amir Isfy added a comment -

        Michael,

        I am using the snapshot from build 21. The 'Use Head If Not Found' seems to be broken. Even though it is checked, it tried to get that branch of the module which does not exist, therefore that module does not get checkout at all and I end up with an empty folder.

        Show
        amofpers Amir Isfy added a comment - Michael, I am using the snapshot from build 21. The 'Use Head If Not Found' seems to be broken. Even though it is checked, it tried to get that branch of the module which does not exist, therefore that module does not get checkout at all and I end up with an empty folder.
        Hide
        mc1arke Michael Clarke added a comment -

        Amir: Your issue does not sounds like a polling or changelog failure so shouldn't be listed under this issue.

        If you continue to have a problem then switch to the latest released version of the CVS plugin (currently 2.4) and try the failing action again. If it still doesn't work then check JIRA for any issues that sound the same and add the details of your failure to that issue, otherwise raise a new issue attaching your job config, console output and any other details that may be relevant to allow investigation.

        Be aware that 'use head if not found' required the tag/branch you've asked for to at least exist in the repository - you can't just select a random tag name and expect it to switch to head on failing to find that tag.

        Show
        mc1arke Michael Clarke added a comment - Amir: Your issue does not sounds like a polling or changelog failure so shouldn't be listed under this issue. If you continue to have a problem then switch to the latest released version of the CVS plugin (currently 2.4) and try the failing action again. If it still doesn't work then check JIRA for any issues that sound the same and add the details of your failure to that issue, otherwise raise a new issue attaching your job config, console output and any other details that may be relevant to allow investigation. Be aware that 'use head if not found' required the tag/branch you've asked for to at least exist in the repository - you can't just select a random tag name and expect it to switch to head on failing to find that tag.
        Hide
        davidiglesias David Iglesias added a comment -

        Hi Michael,

        Now, change detection is working with CVS Plugin 2.4

        Thanks.

        Show
        davidiglesias David Iglesias added a comment - Hi Michael, Now, change detection is working with CVS Plugin 2.4 Thanks.
        Hide
        amofpers Amir Isfy added a comment -

        I am checking out multiple modules but only one of them has the branch I am specifying, the rest of them should come from the head. In version 2.3 the branch/head option could be specified per module but not in this snapshot, here I can only select 'Use Head If Not Found.' I will switch to 2.4 release and research this issue on JIRA.

        Show
        amofpers Amir Isfy added a comment - I am checking out multiple modules but only one of them has the branch I am specifying, the rest of them should come from the head. In version 2.3 the branch/head option could be specified per module but not in this snapshot, here I can only select 'Use Head If Not Found.' I will switch to 2.4 release and research this issue on JIRA.
        Hide
        gbilodeau Guillaume Bilodeau added a comment -

        Just came back from vacation, switched to the 2.4 release and everything works like a charm. Thank you so much Michael!

        Show
        gbilodeau Guillaume Bilodeau added a comment - Just came back from vacation, switched to the 2.4 release and everything works like a charm. Thank you so much Michael!

          People

          • Assignee:
            mc1arke Michael Clarke
            Reporter:
            gbilodeau Guillaume Bilodeau
          • Votes:
            7 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: