Link Search Menu Expand Document

GitLab Maven Plugin

Maven Central

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

gitlab Goal

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

Mojo Parameters

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

repoToken

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.

projectId

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.

gitlabUrl

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.

mergeRequestIID

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.

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.