Skip to content

Conversation

@laurit
Copy link
Contributor

@laurit laurit commented Sep 26, 2024

Our tests invoke gradle twice. First to figure out which tests tasks to run, using the listTestsInPartition task, and after that to actually run the tasks. To make finding the build scan link easier at the end of the gradle build we write it to build-scan.txt. This PR skips writing build-scan.txt when the listTestsInPartition task is run. Sometimes gradle publish fails in the main build and we end up having build-scan.txt containing the link from listTestsInPartition which is not useful, might as well not write it.

@laurit laurit requested a review from a team as a code owner September 26, 2024 07:01
@laurit laurit merged commit 66dc0a5 into open-telemetry:main Sep 26, 2024
56 checks passed
@laurit laurit deleted the build-scan-list-partitions branch September 26, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants