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

Use includesFile to avoid putting new tests in all buckets

      Discussed with KK so I thought I'd capture this idea as a ticket.

      Currently buckets are made using excludesFile, excluding all tests from other buckets.

      If you have a new test, it won't be part of any bucket, so it won't be mentioned in any generated excludesFile and so it will be executed in all buckets.

      The idea would be to generate inclusions files instead, for all buckets except one that would still use the excludesFile. That way, new tests would be assigned to only one bucket.

          [JENKINS-29894] Use includesFile to avoid putting new tests in all buckets

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          exclusions.txt
          inclusions.txt
          pom.xml
          http://jenkins-ci.org/commit/parallel-test-executor-plugin-sample/f169806f6742e299b1449fac566961f976b952a0
          Log:
          JENKINS-29894 Use profiles to avoid having to check in empty files

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: exclusions.txt inclusions.txt pom.xml http://jenkins-ci.org/commit/parallel-test-executor-plugin-sample/f169806f6742e299b1449fac566961f976b952a0 Log: JENKINS-29894 Use profiles to avoid having to check in empty files

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          exclusions.txt
          pom.xml
          http://jenkins-ci.org/commit/parallel-test-executor-plugin-sample/d929f897e9a52d664f742108ebdfec5f8cfcd883
          Log:
          Merge pull request #1 from Vlatombe/JENKINS-29894

          Support inclusions.txt

          Compare: https://github.com/jenkinsci/parallel-test-executor-plugin-sample/compare/471ece438f7c...d929f897e9a5

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: exclusions.txt pom.xml http://jenkins-ci.org/commit/parallel-test-executor-plugin-sample/d929f897e9a52d664f742108ebdfec5f8cfcd883 Log: Merge pull request #1 from Vlatombe/ JENKINS-29894 Support inclusions.txt Compare: https://github.com/jenkinsci/parallel-test-executor-plugin-sample/compare/471ece438f7c...d929f897e9a5

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/java/org/jenkinsci/plugins/parallel_test_executor/MultipleBinaryFileParameterFactory.java
          src/main/java/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor.java
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/config.groovy
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/help-includesPatternFile.html
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/help.html
          http://jenkins-ci.org/commit/parallel-test-executor-plugin/7908178c019fd0603dc6b34e045c66fa634db170
          Log:
          JENKINS-29894 Allow to specify includesPatternFile

          If provided, only the first bucket will use the excludesPatternFile, the other buckets will use includesPatternFile

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: src/main/java/org/jenkinsci/plugins/parallel_test_executor/MultipleBinaryFileParameterFactory.java src/main/java/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor.java src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/config.groovy src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/help-includesPatternFile.html src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/help.html http://jenkins-ci.org/commit/parallel-test-executor-plugin/7908178c019fd0603dc6b34e045c66fa634db170 Log: JENKINS-29894 Allow to specify includesPatternFile If provided, only the first bucket will use the excludesPatternFile, the other buckets will use includesPatternFile

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          pom.xml
          src/test/java/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest.java
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test1.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test2.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test3.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test4.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test5.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test1.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test2.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test3.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test4.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test5.xml
          http://jenkins-ci.org/commit/parallel-test-executor-plugin/60b7ee4821783d33374dd192a60edc25bf020f2e
          Log:
          JENKINS-29894 Add unit test

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: pom.xml src/test/java/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest.java src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test1.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test2.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test3.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test4.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test5.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test1.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test2.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test3.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test4.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test5.xml http://jenkins-ci.org/commit/parallel-test-executor-plugin/60b7ee4821783d33374dd192a60edc25bf020f2e Log: JENKINS-29894 Add unit test

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          demo/JENKINS_HOME/jobs/flow/config.xml
          demo/JENKINS_HOME/jobs/main/config.xml
          pom.xml
          src/main/java/org/jenkinsci/plugins/parallel_test_executor/InclusionExclusionPattern.java
          src/main/java/org/jenkinsci/plugins/parallel_test_executor/SplitStep.java
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/SplitStep/config.jelly
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/SplitStep/help-generateInclusions.html
          http://jenkins-ci.org/commit/parallel-test-executor-plugin/fce5c452cf2d683472049cfa313b821f2f7c131d
          Log:
          JENKINS-29894 Fix incompatibility and update demo

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: demo/JENKINS_HOME/jobs/flow/config.xml demo/JENKINS_HOME/jobs/main/config.xml pom.xml src/main/java/org/jenkinsci/plugins/parallel_test_executor/InclusionExclusionPattern.java src/main/java/org/jenkinsci/plugins/parallel_test_executor/SplitStep.java src/main/resources/org/jenkinsci/plugins/parallel_test_executor/SplitStep/config.jelly src/main/resources/org/jenkinsci/plugins/parallel_test_executor/SplitStep/help-generateInclusions.html http://jenkins-ci.org/commit/parallel-test-executor-plugin/fce5c452cf2d683472049cfa313b821f2f7c131d Log: JENKINS-29894 Fix incompatibility and update demo

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          demo/JENKINS_HOME/jobs/flow/config.xml
          demo/JENKINS_HOME/jobs/main/config.xml
          pom.xml
          src/main/java/org/jenkinsci/plugins/parallel_test_executor/InclusionExclusionPattern.java
          src/main/java/org/jenkinsci/plugins/parallel_test_executor/MultipleBinaryFileParameterFactory.java
          src/main/java/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor.java
          src/main/java/org/jenkinsci/plugins/parallel_test_executor/SplitStep.java
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/config.groovy
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/help-includesPatternFile.html
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/help.html
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/SplitStep/config.jelly
          src/main/resources/org/jenkinsci/plugins/parallel_test_executor/SplitStep/help-generateInclusions.html
          src/test/java/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest.java
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test1.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test2.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test3.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test4.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test5.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test1.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test2.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test3.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test4.xml
          src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test5.xml
          http://jenkins-ci.org/commit/parallel-test-executor-plugin/7b5683dc1a0ff1999394e8a908c3e82978546828
          Log:
          Merge pull request #14 from Vlatombe/JENKINS-29894

          JENKINS-29894 Allow to specify includesPatternFile

          Compare: https://github.com/jenkinsci/parallel-test-executor-plugin/compare/f11a8e4f47bf...7b5683dc1a0f

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: demo/JENKINS_HOME/jobs/flow/config.xml demo/JENKINS_HOME/jobs/main/config.xml pom.xml src/main/java/org/jenkinsci/plugins/parallel_test_executor/InclusionExclusionPattern.java src/main/java/org/jenkinsci/plugins/parallel_test_executor/MultipleBinaryFileParameterFactory.java src/main/java/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor.java src/main/java/org/jenkinsci/plugins/parallel_test_executor/SplitStep.java src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/config.groovy src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/help-includesPatternFile.html src/main/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutor/help.html src/main/resources/org/jenkinsci/plugins/parallel_test_executor/SplitStep/config.jelly src/main/resources/org/jenkinsci/plugins/parallel_test_executor/SplitStep/help-generateInclusions.html src/test/java/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest.java src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test1.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test2.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test3.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test4.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplits/report-Test5.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test1.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test2.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test3.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test4.xml src/test/resources/org/jenkinsci/plugins/parallel_test_executor/ParallelTestExecutorUnitTest/findTestSplitsInclusions/report-Test5.xml http://jenkins-ci.org/commit/parallel-test-executor-plugin/7b5683dc1a0ff1999394e8a908c3e82978546828 Log: Merge pull request #14 from Vlatombe/ JENKINS-29894 JENKINS-29894 Allow to specify includesPatternFile Compare: https://github.com/jenkinsci/parallel-test-executor-plugin/compare/f11a8e4f47bf...7b5683dc1a0f

          Jesse Glick added a comment -

          Released as 1.8.

          Jesse Glick added a comment - Released as 1.8.

            vlatombe Vincent Latombe
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: