-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix junit-reports in CircleCI #2189
Conversation
Generate changelog in
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Released 4.102.0 |
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/latest-baseline-oss check. # Release Notes ## 4.101.0 | Type | Description | Link | | ---- | ----------- | ---- | | Improvement | Support safety annotations on type-use e.g. `Collection<@safe String>` | palantir/gradle-baseline#2187 | ## 4.102.0 | Type | Description | Link | | ---- | ----------- | ---- | | Fix | Fix the `com.palantir.baseline-circleci` plugin so that compilation failures are once again parsed as XML and can be surfaced at the top of CircleCI builds. | palantir/gradle-baseline#2189 | ## 4.103.0 | Type | Description | Link | | ---- | ----------- | ---- | | Fix | Fix TypeArgumentHandler NPE on wildcard types | palantir/gradle-baseline#2190 | To enable or disable this check, please contact the maintainers of Excavator.
@@ -40,6 +41,7 @@ public final class BaselineCircleCi implements Plugin<Project> { | |||
@Override | |||
public void apply(Project project) { | |||
project.getPluginManager().apply(JunitReportsRootPlugin.class); | |||
project.getPluginManager().apply(JunitReportsPlugin.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before this PR
There's a thread in #dev-foundry-infra where Alexis flagged that it's a little inconvenient to see what the compile failures are in CircleCI.
I thought we were hoisting this information to the top of the build by parsing the junit xml, but empirically it has not been working on the Apollo codebase.
In fact, I found this refactor from May 2021 (so almost exactly a year ago) which introduced a brand new
JunitReportsRootPlugin
in addition to the existingJunitReportsPlugin
.We used to be applying the
JunitReportsPlugin
automatically but this was changed (I assume unintentionally) here:https://github.com/palantir/gradle-baseline/pull/1764/files#diff-1ac4be5b278bc51e4c5bdc114f5bc34d9edbe25c509c2af49cdb6d64a2cd5fe0L42
After this PR
==COMMIT_MSG==
Fix the
com.palantir.baseline-circleci
plugin so that compilation failures are once again parsed as XML and can be surfaced at the top of CircleCI builds.==COMMIT_MSG==
Possible downsides?