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

git - clean before build does not clean submodules

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None
    • hudson 1.366, git plugin 1.0.1

      When using a repository containing submodules, if the project is set to clean after the checkout, the git clean -fdx command is issued. However, the clean command will not iterate through submodules, resulting in the submodules still containing private content (debris from past builds.) Would it be possible to get the clean code changed to iterate through the submodules and perform a git clean -fdx within each as well?

          [JENKINS-7376] git - clean before build does not clean submodules

          aaron_neerenberg created issue -
          aaron_neerenberg made changes -
          Environment Original: hudson 1.366, git plugin New: hudson 1.366, git plugin 1.0.1
          Andrew Bayer made changes -
          Link New: This issue is duplicated by JENKINS-7445 [ JENKINS-7445 ]
          Andrew Bayer made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Rafal Zwierz made changes -
          Assignee Original: Andrew Bayer [ abayer ] New: Rafal Zwierz [ rzwierz ]
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Rafal Zwierz made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-22510 [ JENKINS-22510 ]
          Mark Waite made changes -
          Assignee Original: Rafal Zwierz [ rzwierz ] New: Mark Waite [ markewaite ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-23694 [ JENKINS-23694 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 137475 ] New: JNJira + In-Review [ 204506 ]

            markewaite Mark Waite
            aaron_neerenberg aaron_neerenberg
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: