• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ws-cleanup-plugin
    • None
    • windows - jenkins 1.575 running on tomcat6
      plugin version 0.28

      Hi,

      If I select:
      include -> .folder1/*/f2/f22//.*
      => only the folder f2/f22 and children are deleted which is what is expected

      I've configured this plugin to exclude a path I want to keep with this format:
      exclude -> .folder1/*/f2/f22//.*
      => this folder is deleted

      Am I doing something wrong or the exclude does not work as expected?

      Thanks,
      FGUN

          [JENKINS-30179] Exclude seems to be not working

          Sebastian added a comment -

          I had this issue too, but while testing it disappeared
          I created a dump test job, just for testing this issue. In this job the exlcudes worked.
          And now it works at my working job.

          My working job just has single file as exclude.

          The test job had first an include and exclude. Then i removed the include
          I did multiple executions with both configurations.

          Sebastian added a comment - I had this issue too, but while testing it disappeared I created a dump test job, just for testing this issue. In this job the exlcudes worked. And now it works at my working job. My working job just has single file as exclude. The test job had first an include and exclude. Then i removed the include I did multiple executions with both configurations.

          Ivan Fedorov added a comment - - edited

          Hi, I've also faced with this problem. I've added only one exclude file like

          **/*/test.xml
          

          but nevertheless file was deleted during clean up.

          Ivan Fedorov added a comment - - edited Hi, I've also faced with this problem. I've added only one exclude file like **/*/test.xml but nevertheless file was deleted during clean up.

            vjuranek vjuranek
            fgun f gun
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: