{"id":20428303,"url":"https://github.com/tomasbjerre/violation-comments-to-bitbucket-server-lib","last_synced_at":"2025-04-12T19:22:55.248Z","repository":{"id":57742917,"uuid":"64207436","full_name":"tomasbjerre/violation-comments-to-bitbucket-server-lib","owner":"tomasbjerre","description":"A library for commenting Bitbucket Server with violations from static code analyzer reports.","archived":false,"fork":false,"pushed_at":"2024-10-05T16:34:58.000Z","size":486,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T13:45:29.212Z","etag":null,"topics":["bitbucket-server","static-code-analysis"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomasbjerre.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["tomasbjerre"]}},"created_at":"2016-07-26T09:13:30.000Z","updated_at":"2024-10-05T16:35:01.000Z","dependencies_parsed_at":"2024-11-15T07:27:34.471Z","dependency_job_id":"9f76958d-1306-42bf-92f0-76b7afb5d15e","html_url":"https://github.com/tomasbjerre/violation-comments-to-bitbucket-server-lib","commit_stats":null,"previous_names":[],"tags_count":103,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasbjerre%2Fviolation-comments-to-bitbucket-server-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasbjerre%2Fviolation-comments-to-bitbucket-server-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasbjerre%2Fviolation-comments-to-bitbucket-server-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasbjerre%2Fviolation-comments-to-bitbucket-server-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomasbjerre","download_url":"https://codeload.github.com/tomasbjerre/violation-comments-to-bitbucket-server-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248619185,"owners_count":21134368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitbucket-server","static-code-analysis"],"created_at":"2024-11-15T07:25:06.738Z","updated_at":"2025-04-12T19:22:55.221Z","avatar_url":"https://github.com/tomasbjerre.png","language":"Java","funding_links":["https://github.com/sponsors/tomasbjerre"],"categories":[],"sub_categories":[],"readme":"# Violation Comments to Bitbucket Server Lib\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/se.bjurr.violations/violation-comments-to-bitbucket-server-lib/badge.svg)](https://maven-badges.herokuapp.com/maven-central/se.bjurr.violations/violation-comments-to-bitbucket-server-lib)\n\nThis is a library that adds violation comments from static code analysis to Bitbucket Server.\n\nIt uses [Violation Comments Lib](https://github.com/tomasbjerre/violation-comments-lib) and supports the same formats as [Violations Lib](https://github.com/tomasbjerre/violations-lib).\n \nVery easy to use with a nice builder pattern\n```\n  violationCommentsToBitbucketServerApi() //\n    .withViolations(\".*/findbugs/.*\\\\.xml$\", FINDBUGS, rootFolder) //\n    .withViolations(\".*/checkstyle/.*\\\\.xml$\", CHECKSTYLE, rootFolder) //\n    .withUsername(\"username\")\n    .withPassword(\"password\")\n    .withProjectKey(\"projectKey\")\n    .withRepoSlug(\"repoSlug\")\n    .withPullRequestId(\"pullRequestId\")\n    .toPullRequest();\n```\n\n## Usage\nThis software can be used:\n * With a [Jenkins plugin](https://github.com/jenkinsci/violation-comments-to-stash-plugin).\n * From [Command Line](https://github.com/tomasbjerre/violation-comments-to-bitbucket-server-command-line)\n\n### Properties\n\nIt can be configured with some Java properties:\n\n * `VIOLATIONS_KEYSTORE_PATH` - A path to a keystore.\n * `VIOLATIONS_KEYSTORE_PASS` - Password for the keystore. \n * `VIOLATIONS_PAT` - Personal access token used to authenticate.\n * `VIOLATIONS_USERNAME` - Username to authenticate with.\n * `VIOLATIONS_PASSWORD` - Password to authenticate with.\n\n## Developer instructions\n\nTo build the code, have a look at `.travis.yml`.\n\nTo do a release you need to do `./gradlew release` and release the artifact from [staging](https://oss.sonatype.org/#stagingRepositories). More information [here](http://central.sonatype.org/pages/releasing-the-deployment.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasbjerre%2Fviolation-comments-to-bitbucket-server-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomasbjerre%2Fviolation-comments-to-bitbucket-server-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasbjerre%2Fviolation-comments-to-bitbucket-server-lib/lists"}