Link Search Menu Expand Document

Bitbucket Maven Plugin

Maven Central

bitbucket-cloud Goal

Updates a Bitbucket cloud PR based on json files in gitci format previously generated into standard pitest target directories.

bitbucket-server Goal

Updates a PR on a self hosted instance of bitbucket, based on json files in gitci format previously generated into standard pitest target directories.

Mojo Parameters

When running in Bitbucket pipelines, all required parameters (expect authentication details) will be autoset from environment variables.

For other CI environments these parameters must be explicitly set.

bitbucket.token

Required

An App password token with write access to PRs in the repository. If present, this property will be automatically populated from an environment variable named REPO_TOKEN.

This environment variable is not automatically supplied by Bitbucket Pipelines.

bitbucket.user

Optional

Required when authenticating using an App password

The user associated with the App password. If present, this property will be automatically populated from an environment variable named REPO_USER.

This environment variable is not automatically supplied by Bitbucket Pipelines.

bitbucket.repository

Required

Autoset

The repository to update. If present, this property will be automatically populated from an environment variable named BITBUCKET_REPO_SLUG.

This environment variable is automatically set by Bitbucket Pipelines.

bitbucket.pr

Required

Autoset

The pull request to update. If present, this property will be automatically populated from an environment variable named BITBUCKET_PR_ID.

This environment variable is automatically set by Bitbucket Pipelines.

bitbucket.workspace

Required (bitbucket-cloud)

Autoset

The workspace the repository belongs to. If present, this property will be automatically populated from an environment variable named BITBUCKET_WORKSPACE.

This environment variable is automatically set by Bitbucket Pipelines.

bitbucket.url

Required

The base URL of the bitbucket api. For the bitbucket-cloud goal this will be defaulted to https://api.bitbucket.org/2.0 if not supplied. For the bitbucket-server goal a value must always be supplied manually e.g. http://your.domain/rest/api/1.0/.

bitbucket.project

Required (bitbucket-server)

The project the repository is part of. This parameter is required for the bitbucket-server goal, but should not be set when using bitbucket-cloud.

mutantEmoji

Optional

Character string to use in summary table for surviving mutants.

killedEmoji

Optional

Character string to use in summary table when no surviving mutants.

trailingText

Optional

Custom text to place at end of summary.