teamcity_ruby 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/teamcity_ruby/vcs_root.rb +10 -4
- data/lib/teamcity_ruby/version.rb +1 -1
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_step_added_to_it.yml +103 -103
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_trigger_added_to_it.yml +93 -93
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_vcs_root_attached_to_it_with_specific_checkout_rules.yml +106 -106
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_settings_definitions.yml +104 -104
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/fetches_a_specific_build_configuration_by_id.yml +80 -80
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/lists_all_build_configurations.yml +116 -116
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_copying_its_settings_from_a_source_project.yml +93 -93
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_with_a_parent_project.yml +48 -48
- data/spec/cassettes/TeamcityRuby_Project/destroys_a_specific_project.yml +64 -64
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_id_locator.yml +64 -64
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_name_locator.yml +56 -56
- data/spec/cassettes/TeamcityRuby_Project/lists_all_projects_including_root_built_in_on_TeamCity_.yml +68 -68
- data/spec/cassettes/TeamcityRuby_VcsRoot/lists_all_vcs_roots.yml +50 -50
- data/spec/teamcity_ruby/vcs_root_spec.rb +21 -0
- metadata +3 -3
@@ -16,28 +16,28 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
|
-
Date:
|
20
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
21
|
-
Server:
|
22
|
-
- Apache-Coyote/1.1
|
23
19
|
Cache-Control:
|
24
20
|
- no-cache
|
25
21
|
- no-store
|
26
|
-
Pragma:
|
27
|
-
- no-cache
|
28
|
-
Transfer-Encoding:
|
29
|
-
- chunked
|
30
|
-
Content-Type:
|
31
|
-
- application/json
|
32
22
|
Set-Cookie:
|
33
23
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
34
|
-
- TCSESSIONID=
|
24
|
+
- TCSESSIONID=86D1E323BFDA957590121C4C21751572; Path=/; HttpOnly
|
35
25
|
Expires:
|
36
26
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Server:
|
30
|
+
- Apache-Coyote/1.1
|
31
|
+
Pragma:
|
32
|
+
- no-cache
|
33
|
+
Date:
|
34
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
35
|
+
Content-Type:
|
36
|
+
- application/json
|
37
37
|
body:
|
38
38
|
string: "{\"project\":[{\"id\":\"_Root\",\"name\":\"<Root project>\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"}]}"
|
39
39
|
http_version:
|
40
|
-
recorded_at: Fri, 23 May 2014
|
40
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
41
41
|
- request:
|
42
42
|
method: delete
|
43
43
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
@@ -53,31 +53,31 @@ http_interactions:
|
|
53
53
|
code: 403
|
54
54
|
message: Forbidden
|
55
55
|
headers:
|
56
|
-
Date:
|
57
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
58
|
-
Server:
|
59
|
-
- Apache-Coyote/1.1
|
60
56
|
Cache-Control:
|
61
57
|
- no-cache
|
62
58
|
- no-store
|
63
|
-
Pragma:
|
64
|
-
- no-cache
|
65
|
-
Transfer-Encoding:
|
66
|
-
- chunked
|
67
|
-
Content-Type:
|
68
|
-
- text/plain
|
69
59
|
Set-Cookie:
|
70
60
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
71
|
-
- TCSESSIONID=
|
61
|
+
- TCSESSIONID=0629226A97D6ECE7C79A01E15B3505BF; Path=/; HttpOnly
|
72
62
|
Expires:
|
73
63
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
64
|
+
Transfer-Encoding:
|
65
|
+
- chunked
|
66
|
+
Server:
|
67
|
+
- Apache-Coyote/1.1
|
68
|
+
Pragma:
|
69
|
+
- no-cache
|
70
|
+
Date:
|
71
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
72
|
+
Content-Type:
|
73
|
+
- text/plain
|
74
74
|
body:
|
75
75
|
string: |-
|
76
76
|
Error has occurred during request processing (Forbidden).
|
77
77
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
78
78
|
Access denied. Check the user has enough permissions to perform the operation.
|
79
79
|
http_version:
|
80
|
-
recorded_at: Fri, 23 May 2014
|
80
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
81
81
|
- request:
|
82
82
|
method: delete
|
83
83
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject
|
@@ -93,24 +93,24 @@ http_interactions:
|
|
93
93
|
code: 204
|
94
94
|
message: No Content
|
95
95
|
headers:
|
96
|
-
Date:
|
97
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
98
|
-
Server:
|
99
|
-
- Apache-Coyote/1.1
|
100
96
|
Cache-Control:
|
101
97
|
- no-cache
|
102
98
|
- no-store
|
103
|
-
Pragma:
|
104
|
-
- no-cache
|
105
99
|
Set-Cookie:
|
106
100
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
107
|
-
- TCSESSIONID=
|
101
|
+
- TCSESSIONID=102EB91C611BC344CB131641A7705C90; Path=/; HttpOnly
|
108
102
|
Expires:
|
109
103
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
104
|
+
Server:
|
105
|
+
- Apache-Coyote/1.1
|
106
|
+
Pragma:
|
107
|
+
- no-cache
|
108
|
+
Date:
|
109
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
110
110
|
body:
|
111
111
|
string: ""
|
112
112
|
http_version:
|
113
|
-
recorded_at: Fri, 23 May 2014
|
113
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
114
114
|
- request:
|
115
115
|
method: get
|
116
116
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots
|
@@ -126,28 +126,28 @@ http_interactions:
|
|
126
126
|
code: 200
|
127
127
|
message: OK
|
128
128
|
headers:
|
129
|
-
Date:
|
130
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
131
|
-
Server:
|
132
|
-
- Apache-Coyote/1.1
|
133
129
|
Cache-Control:
|
134
130
|
- no-cache
|
135
131
|
- no-store
|
136
|
-
Pragma:
|
137
|
-
- no-cache
|
138
|
-
Transfer-Encoding:
|
139
|
-
- chunked
|
140
|
-
Content-Type:
|
141
|
-
- application/json
|
142
132
|
Set-Cookie:
|
143
133
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
144
|
-
- TCSESSIONID=
|
134
|
+
- TCSESSIONID=BD598F03EB3D0E1FC868C493A066C371; Path=/; HttpOnly
|
145
135
|
Expires:
|
146
136
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
137
|
+
Transfer-Encoding:
|
138
|
+
- chunked
|
139
|
+
Server:
|
140
|
+
- Apache-Coyote/1.1
|
141
|
+
Pragma:
|
142
|
+
- no-cache
|
143
|
+
Date:
|
144
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
145
|
+
Content-Type:
|
146
|
+
- application/json
|
147
147
|
body:
|
148
148
|
string: "{\"count\":0,\"vcs-root\":[]}"
|
149
149
|
http_version:
|
150
|
-
recorded_at: Fri, 23 May 2014
|
150
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
151
151
|
- request:
|
152
152
|
method: post
|
153
153
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -163,28 +163,28 @@ http_interactions:
|
|
163
163
|
code: 200
|
164
164
|
message: OK
|
165
165
|
headers:
|
166
|
-
Date:
|
167
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
168
|
-
Server:
|
169
|
-
- Apache-Coyote/1.1
|
170
166
|
Cache-Control:
|
171
167
|
- no-cache
|
172
168
|
- no-store
|
173
|
-
Pragma:
|
174
|
-
- no-cache
|
175
|
-
Transfer-Encoding:
|
176
|
-
- chunked
|
177
|
-
Content-Type:
|
178
|
-
- application/json
|
179
169
|
Set-Cookie:
|
180
170
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
181
|
-
- TCSESSIONID=
|
171
|
+
- TCSESSIONID=B8A5B9DE4892507536DA8DC0A9E9AABD; Path=/; HttpOnly
|
182
172
|
Expires:
|
183
173
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
174
|
+
Transfer-Encoding:
|
175
|
+
- chunked
|
176
|
+
Server:
|
177
|
+
- Apache-Coyote/1.1
|
178
|
+
Pragma:
|
179
|
+
- no-cache
|
180
|
+
Date:
|
181
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
182
|
+
Content-Type:
|
183
|
+
- application/json
|
184
184
|
body:
|
185
185
|
string: "{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"}"
|
186
186
|
http_version:
|
187
|
-
recorded_at: Fri, 23 May 2014
|
187
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
188
188
|
- request:
|
189
189
|
method: post
|
190
190
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject/buildTypes
|
@@ -200,28 +200,28 @@ http_interactions:
|
|
200
200
|
code: 200
|
201
201
|
message: OK
|
202
202
|
headers:
|
203
|
-
Date:
|
204
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
205
|
-
Server:
|
206
|
-
- Apache-Coyote/1.1
|
207
203
|
Cache-Control:
|
208
204
|
- no-cache
|
209
205
|
- no-store
|
210
|
-
Pragma:
|
211
|
-
- no-cache
|
212
|
-
Transfer-Encoding:
|
213
|
-
- chunked
|
214
|
-
Content-Type:
|
215
|
-
- application/json
|
216
206
|
Set-Cookie:
|
217
207
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
218
|
-
- TCSESSIONID=
|
208
|
+
- TCSESSIONID=AF945A0393DB24B82EFAB9CF41710549; Path=/; HttpOnly
|
219
209
|
Expires:
|
220
210
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
211
|
+
Transfer-Encoding:
|
212
|
+
- chunked
|
213
|
+
Server:
|
214
|
+
- Apache-Coyote/1.1
|
215
|
+
Pragma:
|
216
|
+
- no-cache
|
217
|
+
Date:
|
218
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
219
|
+
Content-Type:
|
220
|
+
- application/json
|
221
221
|
body:
|
222
222
|
string: "{\"id\":\"SampleProject_SampleBuildConfiguration\",\"name\":\"Sample Build Configuration\",\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration\",\"webUrl\":\"http://localhost:8111/viewType.html?buildTypeId=SampleProject_SampleBuildConfiguration\",\"paused\":false,\"project\":{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"},\"builds\":{\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/builds/\"},\"vcs-root-entries\":{\"vcs-root-entry\":[]},\"settings\":{\"property\":[{\"name\":\"allowExternalStatus\",\"value\":\"false\"},{\"name\":\"artifactRules\",\"value\":\"\"},{\"name\":\"buildNumberCounter\",\"value\":\"1\"},{\"name\":\"buildNumberPattern\",\"value\":\"%build.counter%\"},{\"name\":\"checkoutDirectory\"},{\"name\":\"checkoutMode\",\"value\":\"ON_SERVER\"},{\"name\":\"cleanBuild\",\"value\":\"false\"},{\"name\":\"enableHangingBuildsDetection\",\"value\":\"true\"},{\"name\":\"executionTimeoutMin\",\"value\":\"0\"},{\"name\":\"maximumNumberOfBuilds\",\"value\":\"0\"},{\"name\":\"shouldFailBuildIfTestsFailed\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnAnyErrorMessage\",\"value\":\"false\"},{\"name\":\"shouldFailBuildOnBadExitCode\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnOOMEOrCrash\",\"value\":\"true\"},{\"name\":\"showDependenciesChanges\",\"value\":\"false\"},{\"name\":\"vcsLabelingBranchFilter\",\"value\":\"+:<default>\"}]},\"parameters\":{\"property\":[]},\"steps\":{\"step\":[]},\"features\":{\"feature\":[]},\"triggers\":{\"trigger\":[]},\"snapshot-dependencies\":{\"snapshot-dependency\":[]},\"artifact-dependencies\":{\"artifact-dependency\":[]},\"agent-requirements\":{\"agent-requirement\":[]}}"
|
223
223
|
http_version:
|
224
|
-
recorded_at: Fri, 23 May 2014
|
224
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
225
225
|
- request:
|
226
226
|
method: put
|
227
227
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/SampleProject_SampleBuildConfiguration/settings/checkoutMode
|
@@ -235,28 +235,28 @@ http_interactions:
|
|
235
235
|
code: 200
|
236
236
|
message: OK
|
237
237
|
headers:
|
238
|
-
Date:
|
239
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
240
|
-
Server:
|
241
|
-
- Apache-Coyote/1.1
|
242
238
|
Cache-Control:
|
243
239
|
- no-cache
|
244
240
|
- no-store
|
245
|
-
Pragma:
|
246
|
-
- no-cache
|
247
|
-
Transfer-Encoding:
|
248
|
-
- chunked
|
249
|
-
Content-Type:
|
250
|
-
- text/plain
|
251
241
|
Set-Cookie:
|
252
242
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
253
|
-
- TCSESSIONID=
|
243
|
+
- TCSESSIONID=BEA85CA85FEBA3F753FDECA3CD871E1F; Path=/; HttpOnly
|
254
244
|
Expires:
|
255
245
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
246
|
+
Transfer-Encoding:
|
247
|
+
- chunked
|
248
|
+
Server:
|
249
|
+
- Apache-Coyote/1.1
|
250
|
+
Pragma:
|
251
|
+
- no-cache
|
252
|
+
Date:
|
253
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
254
|
+
Content-Type:
|
255
|
+
- text/plain
|
256
256
|
body:
|
257
257
|
string: ON_AGENT
|
258
258
|
http_version:
|
259
|
-
recorded_at: Fri, 23 May 2014
|
259
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
260
260
|
- request:
|
261
261
|
method: get
|
262
262
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/settings
|
@@ -272,28 +272,28 @@ http_interactions:
|
|
272
272
|
code: 200
|
273
273
|
message: OK
|
274
274
|
headers:
|
275
|
-
Date:
|
276
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
277
|
-
Server:
|
278
|
-
- Apache-Coyote/1.1
|
279
275
|
Cache-Control:
|
280
276
|
- no-cache
|
281
277
|
- no-store
|
282
|
-
Pragma:
|
283
|
-
- no-cache
|
284
|
-
Transfer-Encoding:
|
285
|
-
- chunked
|
286
|
-
Content-Type:
|
287
|
-
- application/json
|
288
278
|
Set-Cookie:
|
289
279
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
290
|
-
- TCSESSIONID=
|
280
|
+
- TCSESSIONID=869D0C2C6AD0C01F2997E706DEB2D7FE; Path=/; HttpOnly
|
291
281
|
Expires:
|
292
282
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
283
|
+
Transfer-Encoding:
|
284
|
+
- chunked
|
285
|
+
Server:
|
286
|
+
- Apache-Coyote/1.1
|
287
|
+
Pragma:
|
288
|
+
- no-cache
|
289
|
+
Date:
|
290
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
291
|
+
Content-Type:
|
292
|
+
- application/json
|
293
293
|
body:
|
294
294
|
string: "{\"property\":[{\"name\":\"allowExternalStatus\",\"value\":\"false\"},{\"name\":\"artifactRules\",\"value\":\"\"},{\"name\":\"buildNumberCounter\",\"value\":\"1\"},{\"name\":\"buildNumberPattern\",\"value\":\"%build.counter%\"},{\"name\":\"checkoutDirectory\"},{\"name\":\"checkoutMode\",\"value\":\"ON_AGENT\"},{\"name\":\"cleanBuild\",\"value\":\"false\"},{\"name\":\"enableHangingBuildsDetection\",\"value\":\"true\"},{\"name\":\"executionTimeoutMin\",\"value\":\"0\"},{\"name\":\"maximumNumberOfBuilds\",\"value\":\"0\"},{\"name\":\"shouldFailBuildIfTestsFailed\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnAnyErrorMessage\",\"value\":\"false\"},{\"name\":\"shouldFailBuildOnBadExitCode\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnOOMEOrCrash\",\"value\":\"true\"},{\"name\":\"showDependenciesChanges\",\"value\":\"false\"},{\"name\":\"vcsLabelingBranchFilter\",\"value\":\"+:<default>\"}]}"
|
295
295
|
http_version:
|
296
|
-
recorded_at: Fri, 23 May 2014
|
296
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
297
297
|
- request:
|
298
298
|
method: get
|
299
299
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/settings
|
@@ -309,25 +309,25 @@ http_interactions:
|
|
309
309
|
code: 200
|
310
310
|
message: OK
|
311
311
|
headers:
|
312
|
-
Date:
|
313
|
-
- Fri, 23 May 2014 04:53:06 GMT
|
314
|
-
Server:
|
315
|
-
- Apache-Coyote/1.1
|
316
312
|
Cache-Control:
|
317
313
|
- no-cache
|
318
314
|
- no-store
|
319
|
-
Pragma:
|
320
|
-
- no-cache
|
321
|
-
Transfer-Encoding:
|
322
|
-
- chunked
|
323
|
-
Content-Type:
|
324
|
-
- application/json
|
325
315
|
Set-Cookie:
|
326
316
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
327
|
-
- TCSESSIONID=
|
317
|
+
- TCSESSIONID=AC3EDF440B17F57E225C0000FB46F9B7; Path=/; HttpOnly
|
328
318
|
Expires:
|
329
319
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
320
|
+
Transfer-Encoding:
|
321
|
+
- chunked
|
322
|
+
Server:
|
323
|
+
- Apache-Coyote/1.1
|
324
|
+
Pragma:
|
325
|
+
- no-cache
|
326
|
+
Date:
|
327
|
+
- Fri, 23 May 2014 05:17:09 GMT
|
328
|
+
Content-Type:
|
329
|
+
- application/json
|
330
330
|
body:
|
331
331
|
string: "{\"property\":[{\"name\":\"allowExternalStatus\",\"value\":\"false\"},{\"name\":\"artifactRules\",\"value\":\"\"},{\"name\":\"buildNumberCounter\",\"value\":\"1\"},{\"name\":\"buildNumberPattern\",\"value\":\"%build.counter%\"},{\"name\":\"checkoutDirectory\"},{\"name\":\"checkoutMode\",\"value\":\"ON_AGENT\"},{\"name\":\"cleanBuild\",\"value\":\"false\"},{\"name\":\"enableHangingBuildsDetection\",\"value\":\"true\"},{\"name\":\"executionTimeoutMin\",\"value\":\"0\"},{\"name\":\"maximumNumberOfBuilds\",\"value\":\"0\"},{\"name\":\"shouldFailBuildIfTestsFailed\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnAnyErrorMessage\",\"value\":\"false\"},{\"name\":\"shouldFailBuildOnBadExitCode\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnOOMEOrCrash\",\"value\":\"true\"},{\"name\":\"showDependenciesChanges\",\"value\":\"false\"},{\"name\":\"vcsLabelingBranchFilter\",\"value\":\"+:<default>\"}]}"
|
332
332
|
http_version:
|
333
|
-
recorded_at: Fri, 23 May 2014
|
333
|
+
recorded_at: Fri, 23 May 2014 05:17:09 GMT
|
data/spec/cassettes/TeamcityRuby_BuildConfiguration/fetches_a_specific_build_configuration_by_id.yml
CHANGED
@@ -16,28 +16,28 @@ http_interactions:
|
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
18
|
headers:
|
19
|
-
Date:
|
20
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
21
|
-
Server:
|
22
|
-
- Apache-Coyote/1.1
|
23
19
|
Cache-Control:
|
24
20
|
- no-cache
|
25
21
|
- no-store
|
26
|
-
Pragma:
|
27
|
-
- no-cache
|
28
|
-
Transfer-Encoding:
|
29
|
-
- chunked
|
30
|
-
Content-Type:
|
31
|
-
- application/json
|
32
22
|
Set-Cookie:
|
33
23
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
34
|
-
- TCSESSIONID=
|
24
|
+
- TCSESSIONID=4C99AAC8956CBFE46A6E44920603951B; Path=/; HttpOnly
|
35
25
|
Expires:
|
36
26
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Server:
|
30
|
+
- Apache-Coyote/1.1
|
31
|
+
Pragma:
|
32
|
+
- no-cache
|
33
|
+
Date:
|
34
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
35
|
+
Content-Type:
|
36
|
+
- application/json
|
37
37
|
body:
|
38
38
|
string: "{\"project\":[{\"id\":\"_Root\",\"name\":\"<Root project>\",\"href\":\"/httpAuth/app/rest/projects/id:_Root\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=_Root\"},{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"}]}"
|
39
39
|
http_version:
|
40
|
-
recorded_at: Fri, 23 May 2014
|
40
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
41
41
|
- request:
|
42
42
|
method: delete
|
43
43
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
@@ -53,31 +53,31 @@ http_interactions:
|
|
53
53
|
code: 403
|
54
54
|
message: Forbidden
|
55
55
|
headers:
|
56
|
-
Date:
|
57
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
58
|
-
Server:
|
59
|
-
- Apache-Coyote/1.1
|
60
56
|
Cache-Control:
|
61
57
|
- no-cache
|
62
58
|
- no-store
|
63
|
-
Pragma:
|
64
|
-
- no-cache
|
65
|
-
Transfer-Encoding:
|
66
|
-
- chunked
|
67
|
-
Content-Type:
|
68
|
-
- text/plain
|
69
59
|
Set-Cookie:
|
70
60
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
71
|
-
- TCSESSIONID=
|
61
|
+
- TCSESSIONID=C47E1A2E3635C33566E443A536D52EF4; Path=/; HttpOnly
|
72
62
|
Expires:
|
73
63
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
64
|
+
Transfer-Encoding:
|
65
|
+
- chunked
|
66
|
+
Server:
|
67
|
+
- Apache-Coyote/1.1
|
68
|
+
Pragma:
|
69
|
+
- no-cache
|
70
|
+
Date:
|
71
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
72
|
+
Content-Type:
|
73
|
+
- text/plain
|
74
74
|
body:
|
75
75
|
string: |-
|
76
76
|
Error has occurred during request processing (Forbidden).
|
77
77
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
78
78
|
Access denied. Check the user has enough permissions to perform the operation.
|
79
79
|
http_version:
|
80
|
-
recorded_at: Fri, 23 May 2014
|
80
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
81
81
|
- request:
|
82
82
|
method: delete
|
83
83
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject
|
@@ -93,24 +93,24 @@ http_interactions:
|
|
93
93
|
code: 204
|
94
94
|
message: No Content
|
95
95
|
headers:
|
96
|
-
Date:
|
97
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
98
|
-
Server:
|
99
|
-
- Apache-Coyote/1.1
|
100
96
|
Cache-Control:
|
101
97
|
- no-cache
|
102
98
|
- no-store
|
103
|
-
Pragma:
|
104
|
-
- no-cache
|
105
99
|
Set-Cookie:
|
106
100
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
107
|
-
- TCSESSIONID=
|
101
|
+
- TCSESSIONID=CBB5F1F9D84C85CA59A6F7BD17A5E4B4; Path=/; HttpOnly
|
108
102
|
Expires:
|
109
103
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
104
|
+
Server:
|
105
|
+
- Apache-Coyote/1.1
|
106
|
+
Pragma:
|
107
|
+
- no-cache
|
108
|
+
Date:
|
109
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
110
110
|
body:
|
111
111
|
string: ""
|
112
112
|
http_version:
|
113
|
-
recorded_at: Fri, 23 May 2014
|
113
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
114
114
|
- request:
|
115
115
|
method: get
|
116
116
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots
|
@@ -126,28 +126,28 @@ http_interactions:
|
|
126
126
|
code: 200
|
127
127
|
message: OK
|
128
128
|
headers:
|
129
|
-
Date:
|
130
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
131
|
-
Server:
|
132
|
-
- Apache-Coyote/1.1
|
133
129
|
Cache-Control:
|
134
130
|
- no-cache
|
135
131
|
- no-store
|
136
|
-
Pragma:
|
137
|
-
- no-cache
|
138
|
-
Transfer-Encoding:
|
139
|
-
- chunked
|
140
|
-
Content-Type:
|
141
|
-
- application/json
|
142
132
|
Set-Cookie:
|
143
133
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
144
|
-
- TCSESSIONID=
|
134
|
+
- TCSESSIONID=DDDDB1BD304C245D304A44BE25164F76; Path=/; HttpOnly
|
145
135
|
Expires:
|
146
136
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
137
|
+
Transfer-Encoding:
|
138
|
+
- chunked
|
139
|
+
Server:
|
140
|
+
- Apache-Coyote/1.1
|
141
|
+
Pragma:
|
142
|
+
- no-cache
|
143
|
+
Date:
|
144
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
145
|
+
Content-Type:
|
146
|
+
- application/json
|
147
147
|
body:
|
148
148
|
string: "{\"count\":0,\"vcs-root\":[]}"
|
149
149
|
http_version:
|
150
|
-
recorded_at: Fri, 23 May 2014
|
150
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
151
151
|
- request:
|
152
152
|
method: post
|
153
153
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -163,28 +163,28 @@ http_interactions:
|
|
163
163
|
code: 200
|
164
164
|
message: OK
|
165
165
|
headers:
|
166
|
-
Date:
|
167
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
168
|
-
Server:
|
169
|
-
- Apache-Coyote/1.1
|
170
166
|
Cache-Control:
|
171
167
|
- no-cache
|
172
168
|
- no-store
|
173
|
-
Pragma:
|
174
|
-
- no-cache
|
175
|
-
Transfer-Encoding:
|
176
|
-
- chunked
|
177
|
-
Content-Type:
|
178
|
-
- application/json
|
179
169
|
Set-Cookie:
|
180
170
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
181
|
-
- TCSESSIONID=
|
171
|
+
- TCSESSIONID=CC4EFF38CC32363B17681E779E0E6FDD; Path=/; HttpOnly
|
182
172
|
Expires:
|
183
173
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
174
|
+
Transfer-Encoding:
|
175
|
+
- chunked
|
176
|
+
Server:
|
177
|
+
- Apache-Coyote/1.1
|
178
|
+
Pragma:
|
179
|
+
- no-cache
|
180
|
+
Date:
|
181
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
182
|
+
Content-Type:
|
183
|
+
- application/json
|
184
184
|
body:
|
185
185
|
string: "{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"}"
|
186
186
|
http_version:
|
187
|
-
recorded_at: Fri, 23 May 2014
|
187
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
188
188
|
- request:
|
189
189
|
method: post
|
190
190
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject/buildTypes
|
@@ -200,28 +200,28 @@ http_interactions:
|
|
200
200
|
code: 200
|
201
201
|
message: OK
|
202
202
|
headers:
|
203
|
-
Date:
|
204
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
205
|
-
Server:
|
206
|
-
- Apache-Coyote/1.1
|
207
203
|
Cache-Control:
|
208
204
|
- no-cache
|
209
205
|
- no-store
|
210
|
-
Pragma:
|
211
|
-
- no-cache
|
212
|
-
Transfer-Encoding:
|
213
|
-
- chunked
|
214
|
-
Content-Type:
|
215
|
-
- application/json
|
216
206
|
Set-Cookie:
|
217
207
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
218
|
-
- TCSESSIONID=
|
208
|
+
- TCSESSIONID=970D6E8C43E96052D168F06643D8D3D4; Path=/; HttpOnly
|
219
209
|
Expires:
|
220
210
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
211
|
+
Transfer-Encoding:
|
212
|
+
- chunked
|
213
|
+
Server:
|
214
|
+
- Apache-Coyote/1.1
|
215
|
+
Pragma:
|
216
|
+
- no-cache
|
217
|
+
Date:
|
218
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
219
|
+
Content-Type:
|
220
|
+
- application/json
|
221
221
|
body:
|
222
222
|
string: "{\"id\":\"SampleProject_SampleBuildConfiguration\",\"name\":\"Sample Build Configuration\",\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration\",\"webUrl\":\"http://localhost:8111/viewType.html?buildTypeId=SampleProject_SampleBuildConfiguration\",\"paused\":false,\"project\":{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"},\"builds\":{\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/builds/\"},\"vcs-root-entries\":{\"vcs-root-entry\":[]},\"settings\":{\"property\":[{\"name\":\"allowExternalStatus\",\"value\":\"false\"},{\"name\":\"artifactRules\",\"value\":\"\"},{\"name\":\"buildNumberCounter\",\"value\":\"1\"},{\"name\":\"buildNumberPattern\",\"value\":\"%build.counter%\"},{\"name\":\"checkoutDirectory\"},{\"name\":\"checkoutMode\",\"value\":\"ON_SERVER\"},{\"name\":\"cleanBuild\",\"value\":\"false\"},{\"name\":\"enableHangingBuildsDetection\",\"value\":\"true\"},{\"name\":\"executionTimeoutMin\",\"value\":\"0\"},{\"name\":\"maximumNumberOfBuilds\",\"value\":\"0\"},{\"name\":\"shouldFailBuildIfTestsFailed\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnAnyErrorMessage\",\"value\":\"false\"},{\"name\":\"shouldFailBuildOnBadExitCode\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnOOMEOrCrash\",\"value\":\"true\"},{\"name\":\"showDependenciesChanges\",\"value\":\"false\"},{\"name\":\"vcsLabelingBranchFilter\",\"value\":\"+:<default>\"}]},\"parameters\":{\"property\":[]},\"steps\":{\"step\":[]},\"features\":{\"feature\":[]},\"triggers\":{\"trigger\":[]},\"snapshot-dependencies\":{\"snapshot-dependency\":[]},\"artifact-dependencies\":{\"artifact-dependency\":[]},\"agent-requirements\":{\"agent-requirement\":[]}}"
|
223
223
|
http_version:
|
224
|
-
recorded_at: Fri, 23 May 2014
|
224
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
225
225
|
- request:
|
226
226
|
method: get
|
227
227
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration
|
@@ -237,25 +237,25 @@ http_interactions:
|
|
237
237
|
code: 200
|
238
238
|
message: OK
|
239
239
|
headers:
|
240
|
-
Date:
|
241
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
242
|
-
Server:
|
243
|
-
- Apache-Coyote/1.1
|
244
240
|
Cache-Control:
|
245
241
|
- no-cache
|
246
242
|
- no-store
|
247
|
-
Pragma:
|
248
|
-
- no-cache
|
249
|
-
Transfer-Encoding:
|
250
|
-
- chunked
|
251
|
-
Content-Type:
|
252
|
-
- application/json
|
253
243
|
Set-Cookie:
|
254
244
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
255
|
-
- TCSESSIONID=
|
245
|
+
- TCSESSIONID=C99255849EA3AB3634344F2291418F29; Path=/; HttpOnly
|
256
246
|
Expires:
|
257
247
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
248
|
+
Transfer-Encoding:
|
249
|
+
- chunked
|
250
|
+
Server:
|
251
|
+
- Apache-Coyote/1.1
|
252
|
+
Pragma:
|
253
|
+
- no-cache
|
254
|
+
Date:
|
255
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
256
|
+
Content-Type:
|
257
|
+
- application/json
|
258
258
|
body:
|
259
259
|
string: "{\"id\":\"SampleProject_SampleBuildConfiguration\",\"name\":\"Sample Build Configuration\",\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration\",\"webUrl\":\"http://localhost:8111/viewType.html?buildTypeId=SampleProject_SampleBuildConfiguration\",\"paused\":false,\"project\":{\"id\":\"SampleProject\",\"name\":\"Sample Project\",\"href\":\"/httpAuth/app/rest/projects/id:SampleProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=SampleProject\",\"parentProjectId\":\"_Root\"},\"builds\":{\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/builds/\"},\"vcs-root-entries\":{\"vcs-root-entry\":[]},\"settings\":{\"property\":[{\"name\":\"allowExternalStatus\",\"value\":\"false\"},{\"name\":\"artifactRules\",\"value\":\"\"},{\"name\":\"buildNumberCounter\",\"value\":\"1\"},{\"name\":\"buildNumberPattern\",\"value\":\"%build.counter%\"},{\"name\":\"checkoutDirectory\"},{\"name\":\"checkoutMode\",\"value\":\"ON_SERVER\"},{\"name\":\"cleanBuild\",\"value\":\"false\"},{\"name\":\"enableHangingBuildsDetection\",\"value\":\"true\"},{\"name\":\"executionTimeoutMin\",\"value\":\"0\"},{\"name\":\"maximumNumberOfBuilds\",\"value\":\"0\"},{\"name\":\"shouldFailBuildIfTestsFailed\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnAnyErrorMessage\",\"value\":\"false\"},{\"name\":\"shouldFailBuildOnBadExitCode\",\"value\":\"true\"},{\"name\":\"shouldFailBuildOnOOMEOrCrash\",\"value\":\"true\"},{\"name\":\"showDependenciesChanges\",\"value\":\"false\"},{\"name\":\"vcsLabelingBranchFilter\",\"value\":\"+:<default>\"}]},\"parameters\":{\"property\":[]},\"steps\":{\"step\":[]},\"features\":{\"feature\":[]},\"triggers\":{\"trigger\":[]},\"snapshot-dependencies\":{\"snapshot-dependency\":[]},\"artifact-dependencies\":{\"artifact-dependency\":[]},\"agent-requirements\":{\"agent-requirement\":[]}}"
|
260
260
|
http_version:
|
261
|
-
recorded_at: Fri, 23 May 2014
|
261
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|