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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      [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:

            Assignee:
            Nicolas De Loof
            Reporter:
            aeschbacher
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: