teamcity_ruby 0.0.4 → 0.0.5
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/agent_pool.rb +39 -0
- data/lib/teamcity_ruby/version.rb +1 -1
- data/lib/teamcity_ruby.rb +1 -0
- data/spec/cassettes/TeamcityRuby_AgentPool/creates_an_agent_pool.yml +299 -0
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_step_added_to_it.yml +107 -107
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_build_trigger_added_to_it.yml +95 -95
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_a_vcs_root_attached_to_it_with_specific_checkout_rules.yml +109 -109
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_settings_definitions.yml +107 -107
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/fetches_a_specific_build_configuration_by_id.yml +83 -83
- data/spec/cassettes/TeamcityRuby_BuildConfiguration/lists_all_build_configurations.yml +103 -169
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_copying_its_settings_from_a_source_project.yml +96 -96
- data/spec/cassettes/TeamcityRuby_Project/creates_a_project_with_a_parent_project.yml +49 -49
- data/spec/cassettes/TeamcityRuby_Project/destroys_a_specific_project.yml +69 -69
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_id_locator.yml +69 -69
- data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_name_locator.yml +59 -59
- data/spec/cassettes/TeamcityRuby_Project/lists_all_projects_including_root_built_in_on_TeamCity_.yml +71 -71
- data/spec/cassettes/TeamcityRuby_VcsRoot/lists_all_vcs_roots.yml +51 -51
- data/spec/spec_helper.rb +6 -0
- data/spec/teamcity_ruby/agent_pool_spec.rb +25 -0
- metadata +8 -3
@@ -1,5 +1,4 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.4.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: get
|
@@ -16,28 +15,28 @@ http_interactions:
|
|
16
15
|
code: 200
|
17
16
|
message: OK
|
18
17
|
headers:
|
19
|
-
Cache-Control:
|
20
|
-
- no-cache
|
21
|
-
- no-store
|
22
18
|
Set-Cookie:
|
23
19
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
24
|
-
- TCSESSIONID=
|
20
|
+
- TCSESSIONID=31CFDA3B3F28A10CE3ACA0DFD50A6B9E; Path=/; HttpOnly
|
21
|
+
Pragma:
|
22
|
+
- no-cache
|
23
|
+
Content-Type:
|
24
|
+
- application/json
|
25
|
+
Server:
|
26
|
+
- Apache-Coyote/1.1
|
27
|
+
Date:
|
28
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
25
29
|
Expires:
|
26
30
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
27
31
|
Transfer-Encoding:
|
28
32
|
- chunked
|
29
|
-
|
30
|
-
- Apache-Coyote/1.1
|
31
|
-
Pragma:
|
33
|
+
Cache-Control:
|
32
34
|
- no-cache
|
33
|
-
|
34
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
35
|
-
Content-Type:
|
36
|
-
- application/json
|
35
|
+
- no-store
|
37
36
|
body:
|
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\":\"
|
37
|
+
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
38
|
http_version:
|
40
|
-
recorded_at: Fri, 23 May 2014
|
39
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
41
40
|
- request:
|
42
41
|
method: delete
|
43
42
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
|
@@ -53,34 +52,34 @@ http_interactions:
|
|
53
52
|
code: 403
|
54
53
|
message: Forbidden
|
55
54
|
headers:
|
56
|
-
Cache-Control:
|
57
|
-
- no-cache
|
58
|
-
- no-store
|
59
55
|
Set-Cookie:
|
60
56
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
61
|
-
- TCSESSIONID=
|
57
|
+
- TCSESSIONID=8C6D1F3A6CEFF9C2C16B56E19FF94616; Path=/; HttpOnly
|
58
|
+
Pragma:
|
59
|
+
- no-cache
|
60
|
+
Content-Type:
|
61
|
+
- text/plain
|
62
|
+
Server:
|
63
|
+
- Apache-Coyote/1.1
|
64
|
+
Date:
|
65
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
62
66
|
Expires:
|
63
67
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
64
68
|
Transfer-Encoding:
|
65
69
|
- chunked
|
66
|
-
|
67
|
-
- Apache-Coyote/1.1
|
68
|
-
Pragma:
|
70
|
+
Cache-Control:
|
69
71
|
- no-cache
|
70
|
-
|
71
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
72
|
-
Content-Type:
|
73
|
-
- text/plain
|
72
|
+
- no-store
|
74
73
|
body:
|
75
74
|
string: |-
|
76
75
|
Error has occurred during request processing (Forbidden).
|
77
76
|
Error: jetbrains.buildServer.serverSide.auth.AccessDeniedException: Root project cannot be removed
|
78
77
|
Access denied. Check the user has enough permissions to perform the operation.
|
79
78
|
http_version:
|
80
|
-
recorded_at: Fri, 23 May 2014
|
79
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
81
80
|
- request:
|
82
81
|
method: delete
|
83
|
-
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:
|
82
|
+
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject
|
84
83
|
body:
|
85
84
|
string: ""
|
86
85
|
headers:
|
@@ -93,57 +92,24 @@ http_interactions:
|
|
93
92
|
code: 204
|
94
93
|
message: No Content
|
95
94
|
headers:
|
96
|
-
Cache-Control:
|
97
|
-
- no-cache
|
98
|
-
- no-store
|
99
95
|
Set-Cookie:
|
100
96
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
101
|
-
- TCSESSIONID=
|
102
|
-
Expires:
|
103
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
104
|
-
Server:
|
105
|
-
- Apache-Coyote/1.1
|
97
|
+
- TCSESSIONID=2759A68973402B893D9B800FF64BD42E; Path=/; HttpOnly
|
106
98
|
Pragma:
|
107
99
|
- no-cache
|
100
|
+
Server:
|
101
|
+
- Apache-Coyote/1.1
|
108
102
|
Date:
|
109
|
-
- Fri, 23 May 2014
|
110
|
-
body:
|
111
|
-
string: ""
|
112
|
-
http_version:
|
113
|
-
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
114
|
-
- request:
|
115
|
-
method: delete
|
116
|
-
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:ProjectCopy_2
|
117
|
-
body:
|
118
|
-
string: ""
|
119
|
-
headers:
|
120
|
-
Accept:
|
121
|
-
- application/json
|
122
|
-
Content-Type:
|
123
|
-
- application/json
|
124
|
-
response:
|
125
|
-
status:
|
126
|
-
code: 204
|
127
|
-
message: No Content
|
128
|
-
headers:
|
129
|
-
Cache-Control:
|
130
|
-
- no-cache
|
131
|
-
- no-store
|
132
|
-
Set-Cookie:
|
133
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
134
|
-
- TCSESSIONID=8EDB07B3BF58C9B535F635F9BC6831C6; Path=/; HttpOnly
|
103
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
135
104
|
Expires:
|
136
105
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
137
|
-
|
138
|
-
- Apache-Coyote/1.1
|
139
|
-
Pragma:
|
106
|
+
Cache-Control:
|
140
107
|
- no-cache
|
141
|
-
|
142
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
108
|
+
- no-store
|
143
109
|
body:
|
144
110
|
string: ""
|
145
111
|
http_version:
|
146
|
-
recorded_at: Fri, 23 May 2014
|
112
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
147
113
|
- request:
|
148
114
|
method: get
|
149
115
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots
|
@@ -159,31 +125,31 @@ http_interactions:
|
|
159
125
|
code: 200
|
160
126
|
message: OK
|
161
127
|
headers:
|
162
|
-
Cache-Control:
|
163
|
-
- no-cache
|
164
|
-
- no-store
|
165
128
|
Set-Cookie:
|
166
129
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
167
|
-
- TCSESSIONID=
|
130
|
+
- TCSESSIONID=7C9872B01D38E79F53B66E7ECB5F7768; Path=/; HttpOnly
|
131
|
+
Pragma:
|
132
|
+
- no-cache
|
133
|
+
Content-Type:
|
134
|
+
- application/json
|
135
|
+
Server:
|
136
|
+
- Apache-Coyote/1.1
|
137
|
+
Date:
|
138
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
168
139
|
Expires:
|
169
140
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
170
141
|
Transfer-Encoding:
|
171
142
|
- chunked
|
172
|
-
|
173
|
-
- Apache-Coyote/1.1
|
174
|
-
Pragma:
|
143
|
+
Cache-Control:
|
175
144
|
- no-cache
|
176
|
-
|
177
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
178
|
-
Content-Type:
|
179
|
-
- application/json
|
145
|
+
- no-store
|
180
146
|
body:
|
181
|
-
string: "{\"count\":
|
147
|
+
string: "{\"count\":1,\"vcs-root\":[{\"id\":\"Root_Sample\",\"name\":\"Sample\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_Sample\"}]}"
|
182
148
|
http_version:
|
183
|
-
recorded_at: Fri, 23 May 2014
|
149
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
184
150
|
- request:
|
185
151
|
method: delete
|
186
|
-
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:
|
152
|
+
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:Root_Sample
|
187
153
|
body:
|
188
154
|
string: ""
|
189
155
|
headers:
|
@@ -196,57 +162,24 @@ http_interactions:
|
|
196
162
|
code: 204
|
197
163
|
message: No Content
|
198
164
|
headers:
|
199
|
-
Cache-Control:
|
200
|
-
- no-cache
|
201
|
-
- no-store
|
202
165
|
Set-Cookie:
|
203
166
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
204
|
-
- TCSESSIONID=
|
205
|
-
Expires:
|
206
|
-
- Thu, 01 Jan 1970 00:00:00 GMT
|
207
|
-
Server:
|
208
|
-
- Apache-Coyote/1.1
|
167
|
+
- TCSESSIONID=029B9284460234639334F0CC7528D8B9; Path=/; HttpOnly
|
209
168
|
Pragma:
|
210
169
|
- no-cache
|
170
|
+
Server:
|
171
|
+
- Apache-Coyote/1.1
|
211
172
|
Date:
|
212
|
-
- Fri, 23 May 2014
|
213
|
-
body:
|
214
|
-
string: ""
|
215
|
-
http_version:
|
216
|
-
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
217
|
-
- request:
|
218
|
-
method: delete
|
219
|
-
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot2
|
220
|
-
body:
|
221
|
-
string: ""
|
222
|
-
headers:
|
223
|
-
Accept:
|
224
|
-
- application/json
|
225
|
-
Content-Type:
|
226
|
-
- application/json
|
227
|
-
response:
|
228
|
-
status:
|
229
|
-
code: 204
|
230
|
-
message: No Content
|
231
|
-
headers:
|
232
|
-
Cache-Control:
|
233
|
-
- no-cache
|
234
|
-
- no-store
|
235
|
-
Set-Cookie:
|
236
|
-
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
237
|
-
- TCSESSIONID=88212790727B54D11D2CC85B7A88B5A0; Path=/; HttpOnly
|
173
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
238
174
|
Expires:
|
239
175
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
240
|
-
|
241
|
-
- Apache-Coyote/1.1
|
242
|
-
Pragma:
|
176
|
+
Cache-Control:
|
243
177
|
- no-cache
|
244
|
-
|
245
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
178
|
+
- no-store
|
246
179
|
body:
|
247
180
|
string: ""
|
248
181
|
http_version:
|
249
|
-
recorded_at: Fri, 23 May 2014
|
182
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
250
183
|
- request:
|
251
184
|
method: post
|
252
185
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -262,28 +195,28 @@ http_interactions:
|
|
262
195
|
code: 200
|
263
196
|
message: OK
|
264
197
|
headers:
|
265
|
-
Cache-Control:
|
266
|
-
- no-cache
|
267
|
-
- no-store
|
268
198
|
Set-Cookie:
|
269
199
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
270
|
-
- TCSESSIONID=
|
200
|
+
- TCSESSIONID=FE8CB7FCDDBC7C7783361A9744B6ECAA; Path=/; HttpOnly
|
201
|
+
Pragma:
|
202
|
+
- no-cache
|
203
|
+
Content-Type:
|
204
|
+
- application/json
|
205
|
+
Server:
|
206
|
+
- Apache-Coyote/1.1
|
207
|
+
Date:
|
208
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
271
209
|
Expires:
|
272
210
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
273
211
|
Transfer-Encoding:
|
274
212
|
- chunked
|
275
|
-
|
276
|
-
- Apache-Coyote/1.1
|
277
|
-
Pragma:
|
213
|
+
Cache-Control:
|
278
214
|
- no-cache
|
279
|
-
|
280
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
281
|
-
Content-Type:
|
282
|
-
- application/json
|
215
|
+
- no-store
|
283
216
|
body:
|
284
217
|
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\"}"
|
285
218
|
http_version:
|
286
|
-
recorded_at: Fri, 23 May 2014
|
219
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
287
220
|
- request:
|
288
221
|
method: post
|
289
222
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject/buildTypes
|
@@ -299,28 +232,28 @@ http_interactions:
|
|
299
232
|
code: 200
|
300
233
|
message: OK
|
301
234
|
headers:
|
302
|
-
Cache-Control:
|
303
|
-
- no-cache
|
304
|
-
- no-store
|
305
235
|
Set-Cookie:
|
306
236
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
307
|
-
- TCSESSIONID=
|
237
|
+
- TCSESSIONID=E21B75298C05509CF64F3036545E8013; Path=/; HttpOnly
|
238
|
+
Pragma:
|
239
|
+
- no-cache
|
240
|
+
Content-Type:
|
241
|
+
- application/json
|
242
|
+
Server:
|
243
|
+
- Apache-Coyote/1.1
|
244
|
+
Date:
|
245
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
308
246
|
Expires:
|
309
247
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
310
248
|
Transfer-Encoding:
|
311
249
|
- chunked
|
312
|
-
|
313
|
-
- Apache-Coyote/1.1
|
314
|
-
Pragma:
|
250
|
+
Cache-Control:
|
315
251
|
- no-cache
|
316
|
-
|
317
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
318
|
-
Content-Type:
|
319
|
-
- application/json
|
252
|
+
- no-store
|
320
253
|
body:
|
321
254
|
string: "{\"id\":\"SampleProject_BuildConfiguration1\",\"name\":\"Build Configuration 1\",\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_BuildConfiguration1\",\"webUrl\":\"http://localhost:8111/viewType.html?buildTypeId=SampleProject_BuildConfiguration1\",\"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_BuildConfiguration1/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\":[]}}"
|
322
255
|
http_version:
|
323
|
-
recorded_at: Fri, 23 May 2014
|
256
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
324
257
|
- request:
|
325
258
|
method: post
|
326
259
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject/buildTypes
|
@@ -336,28 +269,28 @@ http_interactions:
|
|
336
269
|
code: 200
|
337
270
|
message: OK
|
338
271
|
headers:
|
339
|
-
Cache-Control:
|
340
|
-
- no-cache
|
341
|
-
- no-store
|
342
272
|
Set-Cookie:
|
343
273
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
344
|
-
- TCSESSIONID=
|
274
|
+
- TCSESSIONID=7D646DFB160C724B9BC3496CF6EC3051; Path=/; HttpOnly
|
275
|
+
Pragma:
|
276
|
+
- no-cache
|
277
|
+
Content-Type:
|
278
|
+
- application/json
|
279
|
+
Server:
|
280
|
+
- Apache-Coyote/1.1
|
281
|
+
Date:
|
282
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
345
283
|
Expires:
|
346
284
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
347
285
|
Transfer-Encoding:
|
348
286
|
- chunked
|
349
|
-
|
350
|
-
- Apache-Coyote/1.1
|
351
|
-
Pragma:
|
287
|
+
Cache-Control:
|
352
288
|
- no-cache
|
353
|
-
|
354
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
355
|
-
Content-Type:
|
356
|
-
- application/json
|
289
|
+
- no-store
|
357
290
|
body:
|
358
291
|
string: "{\"id\":\"SampleProject_BuildConfiguration2\",\"name\":\"Build Configuration 2\",\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_BuildConfiguration2\",\"webUrl\":\"http://localhost:8111/viewType.html?buildTypeId=SampleProject_BuildConfiguration2\",\"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_BuildConfiguration2/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\":[]}}"
|
359
292
|
http_version:
|
360
|
-
recorded_at: Fri, 23 May 2014
|
293
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
361
294
|
- request:
|
362
295
|
method: get
|
363
296
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes
|
@@ -373,25 +306,26 @@ http_interactions:
|
|
373
306
|
code: 200
|
374
307
|
message: OK
|
375
308
|
headers:
|
376
|
-
Cache-Control:
|
377
|
-
- no-cache
|
378
|
-
- no-store
|
379
309
|
Set-Cookie:
|
380
310
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
381
|
-
- TCSESSIONID=
|
311
|
+
- TCSESSIONID=FA334E073D23B02DD389BAEB5AE2A741; Path=/; HttpOnly
|
312
|
+
Pragma:
|
313
|
+
- no-cache
|
314
|
+
Content-Type:
|
315
|
+
- application/json
|
316
|
+
Server:
|
317
|
+
- Apache-Coyote/1.1
|
318
|
+
Date:
|
319
|
+
- Fri, 23 May 2014 07:28:36 GMT
|
382
320
|
Expires:
|
383
321
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
384
322
|
Transfer-Encoding:
|
385
323
|
- chunked
|
386
|
-
|
387
|
-
- Apache-Coyote/1.1
|
388
|
-
Pragma:
|
324
|
+
Cache-Control:
|
389
325
|
- no-cache
|
390
|
-
|
391
|
-
- Fri, 23 May 2014 05:17:08 GMT
|
392
|
-
Content-Type:
|
393
|
-
- application/json
|
326
|
+
- no-store
|
394
327
|
body:
|
395
328
|
string: "{\"buildType\":[{\"id\":\"SampleProject_BuildConfiguration1\",\"name\":\"Build Configuration 1\",\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_BuildConfiguration1\",\"projectName\":\"Sample Project\",\"projectId\":\"SampleProject\",\"webUrl\":\"http://localhost:8111/viewType.html?buildTypeId=SampleProject_BuildConfiguration1\"},{\"id\":\"SampleProject_BuildConfiguration2\",\"name\":\"Build Configuration 2\",\"href\":\"/httpAuth/app/rest/buildTypes/id:SampleProject_BuildConfiguration2\",\"projectName\":\"Sample Project\",\"projectId\":\"SampleProject\",\"webUrl\":\"http://localhost:8111/viewType.html?buildTypeId=SampleProject_BuildConfiguration2\"}]}"
|
396
329
|
http_version:
|
397
|
-
recorded_at: Fri, 23 May 2014
|
330
|
+
recorded_at: Fri, 23 May 2014 07:28:36 GMT
|
331
|
+
recorded_with: VCR 2.4.0
|