Closed Vlatombe closed 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.
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.estimateTestsFromFile
, this is now covered automatically by the chosenTestMode
implementation, if it supports it.Various demos updates:
settings.xml
as the Jenkins infrastructure no longer mirrors it.Testing done
Ran demo project and verified that both the java and python projects are behaving as expected.