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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-plugin
    • None
    • Debian amd64

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

          [JENKINS-13910] git plugin: 'clean after checkout" does not git clean -fdx on submodules

          aeschbacher created issue -
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-22510 [ JENKINS-22510 ]
          Mark Waite made changes -
          Description Original: [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:
          - https://issues.jenkins-ci.org/browse/JENKINS-7445
          - https://issues.jenkins-ci.org/browse/JENKINS-7376
          New: [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:
          - JENKINS-7445
          - JENKINS-7376
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-23694 [ JENKINS-23694 ]
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144378 ] New: JNJira + In-Review [ 205884 ]

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

              Created:
              Updated:
              Resolved: