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

filter to include only top directories

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When specifying include filters, I am able to include folder using filters like "*/bar/" or "bar/*" but both of those filters will also include nested folders like ".../foo/.../bar/..." which I'd like to avoid. I would only want to include "bar" folder from root directory i.e. "bar/...". Some option to achieve that would be great.

        Attachments

          Activity

          Hide
          mheinzerling Martin Heinzerling added a comment - - edited

          I implemented a "fix" for the Jacoco plugin:

          Right now I have no scenario in mind where you might need the subdirectories. Nevertheless, to not break any setup, I'll add a huge warning if somebody is doing this.

           

          centic, please review.

          Show
          mheinzerling Martin Heinzerling added a comment - - edited I implemented a "fix" for the Jacoco plugin: Right now I have no scenario in mind where you might need the subdirectories. Nevertheless, to not break any setup, I'll add a huge warning if somebody is doing this.   centic , please review.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Martin Heinzerling
          Path:
          src/main/java/hudson/plugins/jacoco/JacocoPublisher.java
          src/test/java/hudson/plugins/jacoco/JacocoPublisherTest.java
          http://jenkins-ci.org/commit/jacoco-plugin/d061b94be2718747e60d32b1f55722c209bac221
          Log:
          JENKINS-32847: add warning for sub directory filter

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Martin Heinzerling Path: src/main/java/hudson/plugins/jacoco/JacocoPublisher.java src/test/java/hudson/plugins/jacoco/JacocoPublisherTest.java http://jenkins-ci.org/commit/jacoco-plugin/d061b94be2718747e60d32b1f55722c209bac221 Log: JENKINS-32847 : add warning for sub directory filter
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Martin Heinzerling
          Path:
          src/main/java/hudson/plugins/jacoco/JacocoPublisher.java
          src/test/java/hudson/plugins/jacoco/JacocoPublisherTest.java
          http://jenkins-ci.org/commit/jacoco-plugin/4c5ac73205d82ba248fde03f9738614dad2f88e7
          Log:
          JENKINS-32847: add warning for sub directory filter

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Martin Heinzerling Path: src/main/java/hudson/plugins/jacoco/JacocoPublisher.java src/test/java/hudson/plugins/jacoco/JacocoPublisherTest.java http://jenkins-ci.org/commit/jacoco-plugin/4c5ac73205d82ba248fde03f9738614dad2f88e7 Log: JENKINS-32847 : add warning for sub directory filter
          Hide
          centic centic added a comment -

          Looks good to me, please merge into master!

          Show
          centic centic added a comment - Looks good to me, please merge into master!
          Hide
          centic centic added a comment -

          This is included release 2.2.0

          Show
          centic centic added a comment - This is included release 2.2.0

            People

            • Assignee:
              samngms samngms
              Reporter:
              bartoszkaczorek Bartosz Kaczorek
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: