• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • cvs-plugin
    • None
    • os x, jenkins 1.466.2 CVS plugin 2.7

      It appears that the default update parms have changed with the update I just did to Jenkins.
      I updated Jenkins to 1.466.2 and all the plugins. The Jenkins CVS plugin is now at 2.7

      At the start of the build, the CVS update used to look like this:
      /Developer_4.2/usr/bin/cvs -q -z3 update -PdC -D "Friday, November 9, 2012 7:26:40 PM UTC"

      It now looks like this:
      cvs update -d -P -r HEAD -D 16 Nov 2012 01:56:11 -0600 workspace

      So the builds are now failing any time there are any locally modified files. The -PdC used to take care of that.
      -P Prune directories d create missing directories C Overwrite locally modified files

      To the best of my knowledge, that isn't configured anywhere on our system and
      the only updating done was the Jenkins updates. We do modify the .plists during the build, so it is expected
      that they are locally modified. I can add a postbuild step to every build to delete the .plists, but that
      isn't ideal. So it appears that something changed in the Jenkins CVS plugin to cause this to start happening or some other plugin that was updated.

          [JENKINS-15848] CVS plugin, add support for 'C' parameter

          Code changed in jenkins
          User: Michael Clarke
          Path:
          src/main/java/hudson/scm/AbstractCvs.java
          src/main/java/hudson/scm/CVSSCM.java
          src/main/java/hudson/scm/CvsProjectset.java
          src/main/java/hudson/scm/ICvs.java
          src/main/resources/hudson/scm/CVSSCM/config.jelly
          src/main/resources/hudson/scm/CVSSCM/help-forceCleanCopy.html
          http://jenkins-ci.org/commit/cvs-plugin/79bc7e9ffe49e8edb5f4ead194757a96c510b289
          Log:
          [FIXED JENKINS-15848] Add configurable 'C' option for CVS update

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Clarke Path: src/main/java/hudson/scm/AbstractCvs.java src/main/java/hudson/scm/CVSSCM.java src/main/java/hudson/scm/CvsProjectset.java src/main/java/hudson/scm/ICvs.java src/main/resources/hudson/scm/CVSSCM/config.jelly src/main/resources/hudson/scm/CVSSCM/help-forceCleanCopy.html http://jenkins-ci.org/commit/cvs-plugin/79bc7e9ffe49e8edb5f4ead194757a96c510b289 Log: [FIXED JENKINS-15848] Add configurable 'C' option for CVS update

          Code changed in jenkins
          User: Michael Clarke
          Path:
          src/test/java/hudson/scm/CVSSCMTest.java
          http://jenkins-ci.org/commit/cvs-plugin/7366c494f97363aa06d425f63a1db0ab5eeb3fbb
          Log:
          [FIXED JENKINS-15848] Add configurable 'C' option for CVS update

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Clarke Path: src/test/java/hudson/scm/CVSSCMTest.java http://jenkins-ci.org/commit/cvs-plugin/7366c494f97363aa06d425f63a1db0ab5eeb3fbb Log: [FIXED JENKINS-15848] Add configurable 'C' option for CVS update

          Aykut SAY added a comment - - edited

          I am using Jenkins ver. 1.480.2 and cvs plugin 2.7 but this issue is still exist.
          I checked the config.jelly and there is no forceCleanCopy entry.
          Also there is no "help-forceCleanCopy.html" file.
          -------
          Update : Forgot to mention about OS: This fix has been done for OS X.
          I am using CentOS. Will this fix be applied to all distributions?

          Aykut SAY added a comment - - edited I am using Jenkins ver. 1.480.2 and cvs plugin 2.7 but this issue is still exist. I checked the config.jelly and there is no forceCleanCopy entry. Also there is no "help-forceCleanCopy.html" file. ------- Update : Forgot to mention about OS: This fix has been done for OS X. I am using CentOS. Will this fix be applied to all distributions?

          The fix for this hasn't been released yet as I've had a variety of things getting in the way of further development work. You'll need to use a snapshot build if you're wanting to use this feature.

          Michael Clarke added a comment - The fix for this hasn't been released yet as I've had a variety of things getting in the way of further development work. You'll need to use a snapshot build if you're wanting to use this feature.

          Aykut SAY added a comment -

          Thanks for information. I thought this fix has been released. My fault.

          Aykut SAY added a comment - Thanks for information. I thought this fix has been released. My fault.

            Unassigned Unassigned
            davidcstevens Dave Stevens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: