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

git plugin: 'clean after checkout" does not git clean -fdx on submodules

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • git-plugin
    • None
    • Debian amd64

    Description

      [Jenkins 1.465 - git plugin 1.1.18]

      "Clean after checkout" checkbox does not run "git clean -fdx" on submodules.

      As a workaround, we have to run this command first:

      git submodule foreach --recursive git clean -fdx

      NOTE: apparently, this has been already reported and fixed (see:

      Attachments

        Issue Links

          Activity

            People

              ndeloof Nicolas De Loof
              aeschbacher aeschbacher
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: