-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Capitalize GitLab correctly in messages and docs * Capitalize GitLab correctly in test data * Capitalize GitLab correctly in error messages * Capitalize correctly in messages * Capitalize GitLab in test assertion * Add apiTokenID help * Add API level help * Help for connection timeout * Describe the ignore SSL certificate errors checkbox * Describe the name field * Describe the read timeout * Describe URL field * Add help for the authenticated end-pont checkbox * Add global help (not visible from the UI) * More help * Add help for several trigger settings * Add help for labels that force builds * Add help for some of advanced trigger options * Add help for cancel pending builds on merge request update --------- Co-authored-by: Kris Stern <[email protected]>
- Loading branch information
1 parent
327f4d0
commit 1501e28
Showing
43 changed files
with
157 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...rces/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-cancelPendingBuildsOnUpdate.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then pending builds will be canceled when a merge request is updated in the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-ciSkip.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be skipped when a GitLab comment includes the text <code>ci-skip</code>. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...in/resources/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-setBuildDescription.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build Jenkins description will be updated with the build cause. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...s/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-skipWorkInProgressMergeRequest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be skipped when a GitLab merge request is a work in progress. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...es/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerOnAcceptedMergeRequest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when a merge request is accepted in the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...es/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerOnApprovedMergeRequest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when a merge request is approved on the GitLab Enterprise Edition repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...rces/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerOnClosedMergeRequest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when merge requests are closed in the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
.../resources/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerOnMergeRequest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when a merge request is created in the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...n/resources/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerOnNoteRequest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when a comment is added to the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerOnPush.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when new commits are pushed to the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...es/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerOnlyIfNewCommitsPushed.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when new commits are pushed to the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...es/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerOpenMergeRequestOnPush.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when changes are made to open merge requests in the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...ces/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help-triggerToBranchDeleteRequest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
If enabled, then the build will be triggered when a branch is deleted from the GitLab repository. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/com/dabsquared/gitlabjenkins/GitLabPushTrigger/help.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
Options for triggering Jenkins jobs based on GitLab events. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...n/resources/com/dabsquared/gitlabjenkins/connection/GitLabConnection/help-apiTokenId.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div> | ||
<p> | ||
API token used by the GitLab plugin to access the GitLab API. | ||
</p> | ||
<p> | ||
If a <a href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#create-a-personal-access-token">GitLab personal access token</a> is provided, GitLab will be accessed by Jenkins as the user that generated the personal access token. | ||
If a <a href="https://docs.gitlab.com/ee/user/project/settings/project_access_tokens.html#create-a-project-access-token">GitLab project access token</a> is provided, GitLab will be accessed by Jenkins at the project level. | ||
If a <a href="https://docs.gitlab.com/ee/user/group/settings/group_access_tokens.html#create-a-group-access-token-using-ui">GitLab group access token</a> is provided, GitLab will be accessed by Jenkins at the group level, with access to all projects in the group. | ||
</p> | ||
<p> | ||
Assign the <code>API</code> scope to the access token so that it can use the GitLab API. | ||
</p> | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...ources/com/dabsquared/gitlabjenkins/connection/GitLabConnection/help-clientBuilderId.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
API level used to access GitLab | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...rces/com/dabsquared/gitlabjenkins/connection/GitLabConnection/help-connectionTimeout.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
Number of seconds to wait for the connection to GitLab to be completed. | ||
</div> |
5 changes: 5 additions & 0 deletions
5
...om/dabsquared/gitlabjenkins/connection/GitLabConnection/help-ignoreCertificateErrors.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div> | ||
If enabled, then errors related to the secure sockets layer (SSL) certificate validation will be ignored. | ||
SSL certificate errors should generally not be ignored. | ||
SSL certificates assure that the communications between Jenkins and GitLab is using an encrypted connection. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/com/dabsquared/gitlabjenkins/connection/GitLabConnection/help-name.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
Name that will be used in Jenkins to refer to this GitLab connection. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
.../resources/com/dabsquared/gitlabjenkins/connection/GitLabConnection/help-readTimeout.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
Number of seconds that Jenkins will wait for data from the GitLab API before it reports a timeout. | ||
</div> |
4 changes: 4 additions & 0 deletions
4
src/main/resources/com/dabsquared/gitlabjenkins/connection/GitLabConnection/help-url.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div> | ||
URL of the GitLab server. | ||
<code>https://gitlab.com</code> or <code>https://gitlab.example.com</code> are both examples of valid URLs for GitLab servers. | ||
</div> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/com/dabsquared/gitlabjenkins/connection/GitLabConnection/help.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
GitLab connection configuration for global connection settings. | ||
</div> |
2 changes: 1 addition & 1 deletion
2
...ain/resources/com/dabsquared/gitlabjenkins/connection/GitLabConnectionConfig/config.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...quared/gitlabjenkins/connection/GitLabConnectionConfig/help-useAuthenticatedEndpoint.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div> | ||
<p> | ||
Authentication on the <code>/project</code> end-point allows separate authentication credentials for each Jenkins job. | ||
Separate credentials allow each Jenkins job to define their own token in the GitLab configuration section of the job definition. | ||
</p> | ||
<p> | ||
The token generated in the Jenkins job needs to be pasted into the GitLab "Secret Token" field of the GitLab project webhook definition associated with that Jenkins job. | ||
</p> | ||
</div> |
3 changes: 3 additions & 0 deletions
3
src/main/resources/com/dabsquared/gitlabjenkins/connection/GitLabConnectionConfig/help.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
GitLab connection definitions used by the GitLab plugin. | ||
</div> |
6 changes: 3 additions & 3 deletions
6
src/main/resources/com/dabsquared/gitlabjenkins/connection/Messages.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div> | ||
<div> | ||
A comma separated list of labels that will launch a Jenkins build if the label is assigned in GitLab. | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<div> | ||
<div> | ||
<p>Applicable only for pipelines.</p> | ||
<p>When filled, a 'pending' build status with the given build name is published to Gitlab when the pipeline is | ||
<p>When filled, a 'pending' build status with the given build name is published to GitLab when the pipeline is | ||
triggered. Further status updates should be defined in pipeline steps.</p> | ||
<p>For other types of jobs the build name is taken from 'Publish build status to Gitlab commit' post-build action.</p> | ||
<p>For other types of jobs the build name is taken from 'Publish build status to GitLab commit' post-build action.</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ | |
}, | ||
"project_id": 5, | ||
"project":{ | ||
"name":"Gitlab Test", | ||
"name":"GitLab Test", | ||
"description":"Aut reprehenderit ut est.", | ||
"web_url":"http://example.com/gitlab-org/gitlab-test", | ||
"avatar_url":null, | ||
"git_ssh_url":"[email protected]:gitlab-org/gitlab-test.git", | ||
"git_http_url":"http://example.com/gitlab-org/gitlab-test.git", | ||
"namespace":"Gitlab Org", | ||
"namespace":"GitLab Org", | ||
"visibility_level":10, | ||
"path_with_namespace":"gitlab-org/gitlab-test", | ||
"default_branch":"master", | ||
|
@@ -23,7 +23,7 @@ | |
"http_url":"http://example.com/gitlab-org/gitlab-test.git" | ||
}, | ||
"repository":{ | ||
"name": "Gitlab Test", | ||
"name": "GitLab Test", | ||
"url": "http://localhost/gitlab-org/gitlab-test.git", | ||
"description": "Aut reprehenderit ut est.", | ||
"homepage": "http://example.com/gitlab-org/gitlab-test" | ||
|
@@ -63,13 +63,13 @@ | |
"position": 0, | ||
"locked_at": null, | ||
"source":{ | ||
"name":"Gitlab Test", | ||
"name":"GitLab Test", | ||
"description":"Aut reprehenderit ut est.", | ||
"web_url":"http://example.com/gitlab-org/gitlab-test", | ||
"avatar_url":null, | ||
"git_ssh_url":"[email protected]:gitlab-org/gitlab-test.git", | ||
"git_http_url":"http://example.com/gitlab-org/gitlab-test.git", | ||
"namespace":"Gitlab Org", | ||
"namespace":"GitLab Org", | ||
"visibility_level":10, | ||
"path_with_namespace":"gitlab-org/gitlab-test", | ||
"default_branch":"master", | ||
|
@@ -79,13 +79,13 @@ | |
"http_url":"http://example.com/gitlab-org/gitlab-test.git" | ||
}, | ||
"target": { | ||
"name":"Gitlab Test", | ||
"name":"GitLab Test", | ||
"description":"Aut reprehenderit ut est.", | ||
"web_url":"http://example.com/gitlab-org/gitlab-test", | ||
"avatar_url":null, | ||
"git_ssh_url":"[email protected]:gitlab-org/gitlab-test.git", | ||
"git_http_url":"http://example.com/gitlab-org/gitlab-test.git", | ||
"namespace":"Gitlab Org", | ||
"namespace":"GitLab Org", | ||
"visibility_level":10, | ||
"path_with_namespace":"gitlab-org/gitlab-test", | ||
"default_branch":"master", | ||
|
Oops, something went wrong.