palantir / gradle-circle-style

๐Ÿš€๐Ÿš€๐Ÿš€MOVED TO Baseline

Home Page:https://github.com/palantir/gradle-baseline/tree/develop/gradle-circle-style

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gradle Circle Style

A plugin for Gradle that summarizes failed Gradle builds in CircleCI, with special handling for Checkstyle and FindBugs failures.

Gradle plugins page CircleCI Apache 2.0 License

Quickstart

Add the following to your project's top-level build.gradle file:

plugins {
  id 'com.palantir.circle.style' version '1.1.2'
}

And now your CircleCI builds will fail with nice summaries:

CHECKSTYLE โ€” 1 FAILURE

Details

This plugin is enabled by the CIRCLE_TEST_REPORTS environment variable, set automatically on CircleCI builds. It then automatically enables XML output for Checkstyle and FindBugs plugins, and adds a finalizer task that collates their results (and any other Gradle build step failures) using the JUnit XML output that CircleCI expects.

Note that FindBugs does not support generating both HTML and XML output, so HTML output will be disabled on CircleCI builds. (Checkstyle does not have this limitation.)

About

๐Ÿš€๐Ÿš€๐Ÿš€MOVED TO Baseline

https://github.com/palantir/gradle-baseline/tree/develop/gradle-circle-style

License:Apache License 2.0


Languages

Language:Java 99.9%Language:Shell 0.1%