Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: ws-cleanup-plugin
    • Labels:
      None
    • Environment:
      windows - jenkins 1.575 running on tomcat6
      plugin version 0.28
    • Similar Issues:

      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

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

            Show
            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.
            Hide
            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.

            Show
            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

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

                Dates

                • Created:
                  Updated: