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

Remove sticky date tags not working when local name not set and only one module is used

    Details

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

      Description

      If I got it correctly, the removal of the sticky date tags happens in AbstractCvs.postCheckout, where the path workspace.child(module.getCheckoutName()) is used.

      Now, if only one module is checked out and the local name is not set, the project is actually checked out in the root directory of the workspace, while module.getCheckoutName() will return the CVS module name.

      Failing to cleanup the sticky date tags causes the M2 release plugin to fail

        Attachments

          Issue Links

            Activity

            Hide
            saschavogt Sascha Vogt added a comment -
            Show
            saschavogt Sascha Vogt added a comment - Pull request at https://github.com/jenkinsci/cvs-plugin/pull/17
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Sascha Vogt
            Path:
            src/main/java/hudson/scm/AbstractCvs.java
            http://jenkins-ci.org/commit/cvs-plugin/eca20caaa7be08297b177a0cb24afef97e289b3a
            Log:
            [FIXED JENKINS-16412] Don't use the module name for cleanup if flatten
            is true

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sascha Vogt Path: src/main/java/hudson/scm/AbstractCvs.java http://jenkins-ci.org/commit/cvs-plugin/eca20caaa7be08297b177a0cb24afef97e289b3a Log: [FIXED JENKINS-16412] Don't use the module name for cleanup if flatten is true
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Sascha Vogt
            Path:
            src/main/java/hudson/scm/AbstractCvs.java
            http://jenkins-ci.org/commit/cvs-plugin/1201f8be1a4f564727bc3d9049c6769b2af2fb27
            Log:
            [FIXED JENKINS-16412] Don't use the module name for cleanup if flatten
            is true

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sascha Vogt Path: src/main/java/hudson/scm/AbstractCvs.java http://jenkins-ci.org/commit/cvs-plugin/1201f8be1a4f564727bc3d9049c6769b2af2fb27 Log: [FIXED JENKINS-16412] Don't use the module name for cleanup if flatten is true
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: mc1arke
            Path:
            src/main/java/hudson/scm/AbstractCvs.java
            http://jenkins-ci.org/commit/cvs-plugin/e1d22aa5de3bed53233276431e85453e3cc65ce0
            Log:
            Merge pull request #17 from svogt/master

            JENKINS-16412 Don't use local name on workspace cleanup if flatten is true

            Compare: https://github.com/jenkinsci/cvs-plugin/compare/7366c494f973...e1d22aa5de3b

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: mc1arke Path: src/main/java/hudson/scm/AbstractCvs.java http://jenkins-ci.org/commit/cvs-plugin/e1d22aa5de3bed53233276431e85453e3cc65ce0 Log: Merge pull request #17 from svogt/master JENKINS-16412 Don't use local name on workspace cleanup if flatten is true Compare: https://github.com/jenkinsci/cvs-plugin/compare/7366c494f973...e1d22aa5de3b

              People

              • Assignee:
                Unassigned
                Reporter:
                saschavogt Sascha Vogt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: