2017 © Pedro Peláez
 

library clover-to-bitbucket

Report clover coverage to bitbucket

image

oneshoe/clover-to-bitbucket

Report clover coverage to bitbucket

  • Monday, January 29, 2018
  • by JvE
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Bitbucket Code Coverage

PHP command to convert and publish coverage data to BitBucket server., (*1)

This is useful when you want to display clover test coverage information in the diff inside your pull requests., (*2)

Get the plugin for bitbucket here: https://bitbucket.org/atlassian/bitbucket-code-coverage, (*3)

Install and call this command after your tests have have run., (*4)

Usage:, (*5)

clover-to-bitbucket coverage:report \
    <coverage.file> \
    <bitbucket.url> \
    <bitbucket.user> \
    <bitbucket.password> \
    <bitbucket.commit.id> \
    [<project.directory>]

The last parameter is optional and defaults to the current working directory. This is used to convert the absolute paths in the clover xml to paths relative to the repository root., (*6)

For authenticating with bitbucket you can use a username and password, or create a personal access token and use that as the password. Only read access is required., (*7)

How to create a token: https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html, (*8)

The Versions

29/01 2018

dev-master

9999999-dev

Report clover coverage to bitbucket

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Joris van Eijden