forked from JetBrains/commit-status-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommitStatusPublisher.xml
210 lines (210 loc) · 9.6 KB
/
CommitStatusPublisher.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<?xml version="1.0" encoding="UTF-8"?>
<dsl-extension kind="buildFeature" type="commit-status-publisher" generateDslJar="true">
<class name="CommitStatusPublisher">
<description>
A [build feature](https://confluence.jetbrains.com/display/TCDL/Commit+Status+Publisher) publishing
status to external system
</description>
</class>
<function name="commitStatusPublisher">
<description>
Enables [status publishing](https://confluence.jetbrains.com/display/TCDL/Commit+Status+Publisher) to external system
@see CommitStatusPublisher
</description>
</function>
<params>
<param name="vcsRootId" dslName="vcsRootExtId" ref="VCS_ROOT">
<description>
Id of the VCS root for which commits a status should be published.
Set to an empty string to publish status for all VCS roots attached to a build configuration.
</description>
</param>
<param name="publisherId" dslName="publisher" type="compound" mandatory="true">
<description>
Specifies to which system a status should be published
</description>
<option name="bitbucketCloud" value="bitbucketCloudPublisher">
<description>
Publish status to Bitbucket Cloud
</description>
<param name="bitbucketUsername" dslName="userName" mandatory="true">
<description>
A username for Bitbucket Cloud connection
</description>
</param>
<param name="secure:bitbucketPassword" dslName="password" mandatory="true">
<description>
A password for Bitbucket Cloud connection
</description>
</param>
</option>
<option name="bitbucketServer" value="atlassianStashPublisher">
<description>
Publish status to Bitbucket Server
</description>
<param name="stashBaseUrl" dslName="url" mandatory="true">
<description>
Bitbucket Server URL
</description>
</param>
<param name="stashUsername" dslName="userName" mandatory="true">
<description>
A username for Bitbucket Server connection
</description>
</param>
<param name="secure:stashPassword" dslName="password" mandatory="true">
<description>
A password for Bitbucket Server connection
</description>
</param>
</option>
<option name="gerrit" value="gerritStatusPublisher">
<description>
Publish status to Gerrit Code Review
</description>
<param name="gerritServer" dslName="server" mandatory="true">
<description>
Gerrit server in the format: {server}[:{port}]
</description>
</param>
<param name="gerritProject" dslName="gerritProject" mandatory="true">
<description>
Gerrit project name
</description>
</param>
<param name="failureVote" mandatory="true">
<description>
A failed build vote, e.g. "-1"
</description>
</param>
<param name="successVote" mandatory="true">
<description>
A successful build vote, e.g. "+1"
</description>
</param>
<param name="gerritUsername" dslName="userName" mandatory="true">
<description>
A username for Gerrit connection
</description>
</param>
<param name="teamcitySshKey" dslName="uploadedKey">
<description>
Name of the [uploaded key](https://confluence.jetbrains.com/display/TCDL/SSH+Keys+Management) to use for Gerrit connection
</description>
</param>
</option>
<option name="github" value="githubStatusPublisher">
<description>
Publish status to GitHub
</description>
<param name="github_host" dslName="githubUrl" mandatory="true">
<description>
GitHub server URL.
Use "https://api.github.com" for projects hosted at github.com. For GitHub enterprise use the URL in the
following format: http{s}://{host}:{port}/api/v3
</description>
</param>
<param name="github_authentication_type" dslName="authType" type="compound">
<description>
Type of authentication
</description>
<option name="personalToken" value="token">
<description>
Authentication using personal token
</description>
<param name="secure:github_access_token" dslName="token" mandatory="true">
<description>
Personal token to use
</description>
</param>
</option>
<option name="password" value="password">
<description>
Password authentication
</description>
<param name="github_username" dslName="userName" mandatory="true">
<description>
A username for GitHub connection
</description>
</param>
<param name="secure:github_password" dslName="password" mandatory="true">
<description>
A password for GitHub connection
</description>
</param>
</option>
</param>
</option>
<option name="gitlab" value="gitlabStatusPublisher">
<description>
Publish status to GitLab
</description>
<param name="gitlabApiUrl" mandatory="true">
<description>
GitLab URL in the format http{s}://{hostname}:{port}/api/v3
</description>
</param>
<param name="secure:gitlabAccessToken" dslName="accessToken" mandatory="true">
<description>
Access token to use for GitLab connection. Can be found at /profile/account in GitLab.
</description>
</param>
</option>
<option name="upsource" value="upsourcePublisher">
<description>
Publish status to Upsource
</description>
<param name="upsourceServerUrl" dslName="serverUrl" mandatory="true">
<description>
Upsource server URL
</description>
</param>
<param name="upsourceProjectId" dslName="projectId" mandatory="true">
<description>
Upsource project ID
</description>
</param>
<param name="upsourceUsername" dslName="userName" mandatory="true">
<description>
A username for Upsource connection
</description>
</param>
<param name="secure:upsourcePassword" dslName="password" mandatory="true">
<description>
A password for Upsource connection
</description>
</param>
</option>
<option name="tfs" value="tfs">
<description>
Publish build status to VSTS / TFS
</description>
<param name="tfsAuthType" dslName="authType" mandatory="true">
<description>
Authentication type
</description>
</param>
<param name="secure:accessToken" dslName="accessToken" mandatory="true">
<description>
A Personal Access Token value
</description>
</param>
<param name="publish.pull.requests" dslName="publishPullRequests" type="boolean" trueValue="true" falseValue="">
<description>
Enables publishing build status for pull requests
</description>
</param>
</option>
</param>
</params>
<types>
<enum name="FileEncoding">
<option name="AUTODETECT" value="autodetect"/>
<option name="ASCII" value="US-ASCII"/>
<option name="UTF_8" value="UTF-8"/>
<option name="UTF_16BE" value="UTF-16BE"/>
<option name="UTF_16LE" value="UTF-16LE"/>
<option name="CUSTOM" value="custom"/>
</enum>
</types>
</dsl-extension>