Skip to content

Commit

Permalink
Fix junit-reports in CircleCI (#2189)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
iamdanfox authored Apr 11, 2022
1 parent 757c5b8 commit 208f69f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions changelog/@unreleased/pr-2189.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
type: fix
fix:
description: 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.
links:
- https://github.com/palantir/gradle-baseline/pull/2189
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.google.common.base.Preconditions;
import com.google.common.base.Splitter;
import com.palantir.gradle.junit.JunitReportsExtension;
import com.palantir.gradle.junit.JunitReportsPlugin;
import com.palantir.gradle.junit.JunitReportsRootPlugin;
import java.io.File;
import java.io.IOException;
Expand All @@ -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);

configurePluginsForReports(project);
configurePluginsForArtifacts(project);
Expand Down

0 comments on commit 208f69f

Please sign in to comment.