• 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

          f gun created issue -
          f gun made changes -
          Attachment New: pluginConfig.txt [ 30554 ]
          Description Original: 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?

          <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.28"><patterns><hudson.plugins.ws__cleanup.Pattern><pattern>.folder1/**/f2/f22/**/*.*</pattern><type>EXCLUDE</type></hudson.plugins.ws__cleanup.Pattern></patterns><deleteDirs>true</deleteDirs><skipWhenFailed>false</skipWhenFailed><cleanWhenSuccess>true</cleanWhenSuccess><cleanWhenUnstable>true</cleanWhenUnstable><cleanWhenFailure>true</cleanWhenFailure><cleanWhenNotBuilt>true</cleanWhenNotBuilt><cleanWhenAborted>true</cleanWhenAborted><notFailBuild>true</notFailBuild><cleanupMatrixParent>false</cleanupMatrixParent><externalDelete/></hudson.plugins.ws__cleanup.WsCleanup>

          Thanks,
          FGUN
          New: 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
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165266 ] New: JNJira + In-Review [ 181902 ]
          Andreas Ringlstetter made changes -
          Link New: This issue is related to JENKINS-50901 [ JENKINS-50901 ]
          Grim Reaper made changes -
          Link New: This issue relates to JENKINS-12783 [ JENKINS-12783 ]

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

              Created:
              Updated: