diff --git a/lib/definitions/errors.js b/lib/definitions/errors.js index 51508538..fc2d7088 100644 --- a/lib/definitions/errors.js +++ b/lib/definitions/errors.js @@ -49,7 +49,7 @@ By default the \`repositoryUrl\` option is retrieved from the \`repository\` pro message: 'Invalid GitLab token.', details: `The [GitLab token](${linkify( 'README.md#gitlab-authentication' - )}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must be a valid [personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) allowing to push to the repository ${projectPath}. + )}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must be a valid [personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/) allowing to push to the repository ${projectPath}. Please make sure to set the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable in your CI with the exact value of the GitLab personal token.`, }), @@ -69,7 +69,7 @@ If you are using [GitLab Enterprise Edition](https://about.gitlab.com/gitlab-ee) 'README.md#gitlab-authentication' )}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must allows to push to the repository ${projectPath}. -Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/ee/user/permissions.html#project-members-permissions) to the repository ${projectPath}.`, +Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/user/permissions/#project-members-permissions) to the repository ${projectPath}.`, }), EGLNOPULLPERMISSION: ({projectPath}) => ({ message: `The GitLab token doesn't allow to pull from the repository ${projectPath}.`, @@ -77,7 +77,7 @@ Please make sure the GitLab user associated with the token has the [permission t 'README.md#gitlab-authentication' )}) configured in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable must allow pull from the repository ${projectPath}. -Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/ee/user/permissions.html#project-members-permissions) to the repository ${projectPath}.`, +Please make sure the GitLab user associated with the token has the [permission to push](https://docs.gitlab.com/user/permissions/#project-members-permissions) to the repository ${projectPath}.`, }), ENOGLTOKEN: ({repositoryUrl}) => ({ message: 'No GitLab token specified.', @@ -85,6 +85,6 @@ Please make sure the GitLab user associated with the token has the [permission t 'README.md#gitlab-authentication' )}) must be created and set in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable on your CI environment. -Please make sure to create a [GitLab personal access token](https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html) and to set it in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable on your CI environment. The token must allow to push to the repository ${repositoryUrl}.`, +Please make sure to create a [GitLab personal access token](https://docs.gitlab.com/user/profile/personal_access_tokens/) and to set it in the \`GL_TOKEN\` or \`GITLAB_TOKEN\` environment variable on your CI environment. The token must allow to push to the repository ${repositoryUrl}.`, }), };