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

Delete workspace before build starts ignores Exlude patterns (for directories)

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: ws-cleanup-plugin
    • Environment:
    • Similar Issues:

      Description

      I need to exclude some directories from being deleted on workspace cleanup. It always deleted the entire workspace, pattern is always ignored.
      I used several combinations: */DIRNAME/., DIRNAME/., DIRNAME, *DIRNAME with or without checking "Apply pattern also on directories"

        Attachments

          Issue Links

            Activity

            bavoiculescu Voiculescu Bogdan Alexandru created issue -
            vjuranek vjuranek made changes -
            Field Original Value New Value
            Assignee vjuranek [ vjuranek ] Lucie Votypkova [ lvotypkova ]
            ophyte O. phyTe made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ophyte O. phyTe made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 143241 ] JNJira + In-Review [ 175847 ]
            grim Grim Reaper made changes -
            Environment Linux, Jenkins ver. 1.451, plugin 0.7, job running on master or slave OP - Linux, Jenkins ver. 1.451, plugin 0.7, job running on master or slave
            Grim -
            grim Grim Reaper made changes -
            Environment OP - Linux, Jenkins ver. 1.451, plugin 0.7, job running on master or slave
            Grim -
            OP - Linux, Jenkins ver. 1.451, plugin 0.7, job running on master or slave
            Grim:
            grim Grim Reaper made changes -
            Environment OP - Linux, Jenkins ver. 1.451, plugin 0.7, job running on master or slave
            Grim:
            OP - Linux, Jenkins ver. 1.451, plugin 0.7, job running on master or slave
            Grim:
               Jenkins Versions: 2.60.3 & 2.73.3 (WAR deployments on WildFly)
               Plugin Version: 0.34
               Platform: Linux
               Plugins:
                  Git client plugin 2.6.0
                  Git plugin 3.6.4
            grim Grim Reaper made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            grim Grim Reaper made changes -
            Labels bug plugin scm workspace
            grim Grim Reaper made changes -
            Assignee Lucie Votypkova [ lvotypkova ] Oliver Gondža [ olivergondza ]
            grim Grim Reaper made changes -
            Link This issue relates to JENKINS-30179 [ JENKINS-30179 ]

              People

              • Assignee:
                olivergondza Oliver Gondža
                Reporter:
                bavoiculescu Voiculescu Bogdan Alexandru
              • Votes:
                8 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: