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

SCMCheckoutStrategy extension is not functional for Matrix projects

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core

      Please update the MatrixConfiguration class in order to use ScmCheckoutStrategy selected in the parent MatrixProject.
      Please add following code, otherwise the default SCM checkout strategy would be still used.

      /**

      • Inherit the value from the parent.
        */
        @override
        public SCMCheckoutStrategy getScmCheckoutStrategy() {
        return getParent().getScmCheckoutStrategy();
        }

          [JENKINS-14090] SCMCheckoutStrategy extension is not functional for Matrix projects

          Sergey Burkov created issue -
          Sergey Burkov made changes -
          Issue Type Original: Patch [ 5 ] New: Bug [ 1 ]
          Daniel Beck made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144721 ] New: JNJira + In-Review [ 191146 ]

            Unassigned Unassigned
            berkoff Sergey Burkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: