Composite build reports test results from transitive dependencies
We have a composite build that has 5 snapshot dependencies. Four them are the system test suites we want reported in aggregate, while the fifth is a job that makes sure a pull request has appropriate labels that indicate these slow tests suites should run.
This fifth job also has a unit tests job as a dependency, so that system tests are only run if unit tests are green. However, these unit tests are also being included in the composite build report, even though it is a transitive dependency. Is there a configuration to exclude these test results?
Please sign in to leave a comment.
Hi Christian,
first things first, I'd like to confirm that this is the expected behavior. A composite dependency pulls the results from the whole chain, not just its direct dependencies.
https://confluence.jetbrains.com/display/TCD18/Composite+Build+Configuration
The only option here would be to extract the unit tests to a separate chain. If you would like to see this as a feature, please report it to our tracker: https://youtrack.jetbrains.com/issues/TW
Hi Denis,
Thanks for the reply. I missed “of the chain” in the docs.
I’ll file a feature request to add an option to only aggregate direct dependencies of the composite build.
Filed https://youtrack.jetbrains.com/issue/TW-58717