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

Exclude seems to be not working

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • ws-cleanup-plugin
    • None
    • windows - jenkins 1.575 running on tomcat6
      plugin version 0.28

    Description

      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

      Attachments

        Issue Links

          Activity

            stautz85 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.

            stautz85 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.
            ifedorov 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.

            ifedorov 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.

            People

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

              Dates

                Created:
                Updated: