jenkinsci / parallel-test-executor-plugin

Parallel test executor plugin
https://plugins.jenkins.io/parallel-test-executor/
50 stars 55 forks source link

[JENKINS-28924] Support for non-java projects #275

Closed Vlatombe closed 6 months ago

Vlatombe commented 7 months ago

https://issues.jenkins-ci.org/browse/JENKINS-28924

This picks up #15 where it was left, making it extensible as well as refactoring the existing java support to estimate tests from files, leaving room for future generic or specific implementations to support other languages.

This introduces a new extension point, TestMode, allowing to specify test entities (classes or cases) to parallelize on. It provides as well the ability to return an estimate obtained from the workspace, if no historical result was provided.

Various demos updates:

Testing done

Ran demo project and verified that both the java and python projects are behaving as expected.

### Submitter checklist
- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [X] Ensure that the pull request title represents the desired changelog entry
- [X] Please describe what you did
- [X] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue
jglick commented 6 months ago

the position of the help handle

True. Was somewhat better in https://github.com/jenkinsci/jenkins/pull/5417 but seems to have wandered since then after one or another core layout refactoring. Affects fields not touched by this PR.