Skip to content
A library for commenting Bitbucket Server with violations from static code analyzer reports.
Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper [Gradle Release Plugin] - new version commit: '1.89-SNAPSHOT'. Jun 12, 2019
src commentOnlyChangedFiles Jun 16, 2019
.gitignore Enabling injected logger Sep 18, 2018
.travis.yml openjdk11 Jun 12, 2019
CHANGELOG.md
LICENSE license Jan 25, 2019
README.md doc Jun 1, 2019
build.gradle junit Jun 16, 2019
build.sh
gradle.properties
gradlew
gradlew.bat Refactoring build scripts Dec 7, 2017
release.sh Reducing logging a bit Sep 18, 2018

README.md

Violation Comments to Bitbucket Server Lib Build Status Maven Central Bintray

This is a library that adds violation comments from static code analysis to Bitbucket Server.

It uses Violation Comments Lib and supports the same formats as Violations Lib.

Very easy to use with a nice builder pattern

  violationCommentsToBitbucketServerApi() //
    .withViolations(".*/findbugs/.*\\.xml$", FINDBUGS, rootFolder) //
    .withViolations(".*/checkstyle/.*\\.xml$", CHECKSTYLE, rootFolder) //
    .withUsername("username")
    .withPassword("password")
    .withProjectKey("projectKey")
    .withRepoSlug("repoSlug")
    .withPullRequestId("pullRequestId")
    .toPullRequest();

Usage

This software can be used:

Developer instructions

To build the code, have a look at .travis.yml.

To do a release you need to do ./gradlew release and release the artifact from staging. More information here.

You can’t perform that action at this time.