Skip to content

GitLab Maven Plugin

Maven Central Version

See here for a working example using the plugin with GitLab CI.

Updates a GitLab merge request based on json files in gitci format previously generated into standard pitest target directories.

When running in Gitlab CI, most required parameters will be autoset from environment variables. These parameters must be explicitly set in other environments.

Required

A Gitlab Personal Access Token, or Organisation Token.

If present, this property will be automatically populated from an environment variable named REPO_TOKEN.

If GitLab CI is being used a CI variable created with this name will be automatically exported as an environment variable. By default the variable will only be available to protected branches. This option must be unselected, or all PR branches must be made protected.

Required

Autoset

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

This environment variable is automatically set by GitLab CI.

Required

Autoset

The base URL of the GitLab api. If present, this property will be automatically populated from an environment variable named CI_SERVER_URL.

This environment variable is automatically set by GitLab CI.

Required

Autoset

The IID of the merge request to update. If present, this property will be automatically populated from an environment variable named CI_MERGE_REQUEST_IID.

This environment variable is automatically set by GitLab CI.

Optional

Character string to use in summary table for surviving mutants.

Optional

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

Optional

Custom text to place at end of summary.

Optional

When set, arcmutate will include links to information about the mutator in the mutant.

Defaults to true.