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

Git Clean before checkout fails with pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • git-plugin
    • None
    • LTS 2.60.1
      git plugin 3.3.2
      RHEL 6.9 Linux

      The workspace is not cleaned when using Pipeline project and git "Clean before checkout" is selected. (When I try with Freestyle project it works fine.)

      Tested with this script:

      ls -lF
      touch glop
      ls -lF

      After the first run, the file glop is not cleaned as indicated by the execution of the first 'ls -lF'.

       

            markewaite Mark Waite
            generatz Generic Ratslaugh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: