0.14.4 • Published 20 days ago

reg-notify-gitlab-plugin v0.14.4

Weekly downloads
2,253
License
MIT
Repository
github
Last release
20 days ago

reg-notify-gitlab-plugin

reg-suit plugin to send notification the testing result to your GitLab repository.

Installing this plugin, reg-suit comments to your Merge Request.

Install

npm i reg-notify-gitlab-plugin -D
reg-suit prepare -p notify-gitlab

Configure

{
  projectId: string;
  privateToken: string;
  gitlabUrl?: string;
  commentTo?: "note" | "description" | "discussion";
  shortDescription?: boolean;
}
  • projectId - Required - Your GitLab project id. You can get this id via https://gitlab.com/<your-name>/<your-project-name/edit> page.
  • privateToken - Required - Your GitLab API token. If you want more detail, see Personal access tokens doc.
  • gitlabUrl - Optional - Set if you host your GitLab instance. Default: https://gitlab.com
  • commentTo - Optional - How this plugin comments to MR. If "note", it posts or puts the comment as a MR's note. if "description", your MR's description gets updated. If "discussion", it posts or puts the comment as a MR's resolvable note. Default: "note".
  • shortDescription - Optional Returns a small table with the item counts. Example:

    🔴 Changed⚪️ New🔵 Passing
    34120

Auto complete on GitLab CI

If you run reg-suit on GitLab CI, this plugin detect gitlabUrl and projectId values from pre-declared GitLab CI environment values. So you can skip projectId

0.14.4

20 days ago

0.14.3

3 months ago

0.14.2

3 months ago

0.14.0

3 months ago

0.13.0

4 months ago

0.12.3

6 months ago

0.12.2

11 months ago

0.12.1

2 years ago

0.11.0

3 years ago

0.11.1

3 years ago

0.10.17

3 years ago

0.10.16

3 years ago

0.10.15

3 years ago

0.10.14

3 years ago

0.10.12

3 years ago

0.10.11

3 years ago

0.10.10

3 years ago

0.10.9

3 years ago

0.10.8

4 years ago

0.10.7

4 years ago

0.10.5

4 years ago

0.10.6

4 years ago

0.10.3

4 years ago

0.8.5

4 years ago

0.7.25

5 years ago

0.7.23

5 years ago

0.7.16

6 years ago

0.7.12

6 years ago

0.7.11

6 years ago

0.7.9

6 years ago

0.7.8

6 years ago

0.7.7

6 years ago

0.7.6

6 years ago