teamcity_ruby 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- 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: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=5FBF83028991D3F929ACE5907F4A229B; 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\":\"BaseProject\",\"name\":\"Base Project\",\"href\":\"/httpAuth/app/rest/projects/id:BaseProject\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=BaseProject\",\"parentProjectId\":\"_Root\"},{\"id\":\"ProjectCopy_2\",\"name\":\"Project Copy\",\"href\":\"/httpAuth/app/rest/projects/id:ProjectCopy_2\",\"archived\":false,\"webUrl\":\"http://localhost:8111/project.html?projectId=ProjectCopy_2\",\"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=72C1B9F33866A76955E36D256D6964A6; 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:BaseProject
|
@@ -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=E82D9F6A40FB9FB0E2F7E29669F5CC66; 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: delete
|
116
116
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:ProjectCopy_2
|
@@ -126,24 +126,24 @@ http_interactions:
|
|
126
126
|
code: 204
|
127
127
|
message: No Content
|
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
132
|
Set-Cookie:
|
139
133
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
140
|
-
- TCSESSIONID=
|
134
|
+
- TCSESSIONID=8EDB07B3BF58C9B535F635F9BC6831C6; Path=/; HttpOnly
|
141
135
|
Expires:
|
142
136
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
137
|
+
Server:
|
138
|
+
- Apache-Coyote/1.1
|
139
|
+
Pragma:
|
140
|
+
- no-cache
|
141
|
+
Date:
|
142
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
143
143
|
body:
|
144
144
|
string: ""
|
145
145
|
http_version:
|
146
|
-
recorded_at: Fri, 23 May 2014
|
146
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
147
147
|
- request:
|
148
148
|
method: get
|
149
149
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots
|
@@ -159,28 +159,28 @@ http_interactions:
|
|
159
159
|
code: 200
|
160
160
|
message: OK
|
161
161
|
headers:
|
162
|
-
Date:
|
163
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
164
|
-
Server:
|
165
|
-
- Apache-Coyote/1.1
|
166
162
|
Cache-Control:
|
167
163
|
- no-cache
|
168
164
|
- no-store
|
169
|
-
Pragma:
|
170
|
-
- no-cache
|
171
|
-
Transfer-Encoding:
|
172
|
-
- chunked
|
173
|
-
Content-Type:
|
174
|
-
- application/json
|
175
165
|
Set-Cookie:
|
176
166
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
177
|
-
- TCSESSIONID=
|
167
|
+
- TCSESSIONID=CB287C3A9D55AEDAFCD549267E538273; Path=/; HttpOnly
|
178
168
|
Expires:
|
179
169
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
170
|
+
Transfer-Encoding:
|
171
|
+
- chunked
|
172
|
+
Server:
|
173
|
+
- Apache-Coyote/1.1
|
174
|
+
Pragma:
|
175
|
+
- no-cache
|
176
|
+
Date:
|
177
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
178
|
+
Content-Type:
|
179
|
+
- application/json
|
180
180
|
body:
|
181
181
|
string: "{\"count\":2,\"vcs-root\":[{\"id\":\"Root_VcsRoot1\",\"name\":\"VCS Root 1\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot1\"},{\"id\":\"Root_VcsRoot2\",\"name\":\"VCS Root 2\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot2\"}]}"
|
182
182
|
http_version:
|
183
|
-
recorded_at: Fri, 23 May 2014
|
183
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
184
184
|
- request:
|
185
185
|
method: delete
|
186
186
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot1
|
@@ -196,24 +196,24 @@ http_interactions:
|
|
196
196
|
code: 204
|
197
197
|
message: No Content
|
198
198
|
headers:
|
199
|
-
Date:
|
200
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
201
|
-
Server:
|
202
|
-
- Apache-Coyote/1.1
|
203
199
|
Cache-Control:
|
204
200
|
- no-cache
|
205
201
|
- no-store
|
206
|
-
Pragma:
|
207
|
-
- no-cache
|
208
202
|
Set-Cookie:
|
209
203
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
210
|
-
- TCSESSIONID=
|
204
|
+
- TCSESSIONID=3A71E2275B7F5694C588B7162023FC2C; Path=/; HttpOnly
|
211
205
|
Expires:
|
212
206
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
207
|
+
Server:
|
208
|
+
- Apache-Coyote/1.1
|
209
|
+
Pragma:
|
210
|
+
- no-cache
|
211
|
+
Date:
|
212
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
213
213
|
body:
|
214
214
|
string: ""
|
215
215
|
http_version:
|
216
|
-
recorded_at: Fri, 23 May 2014
|
216
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
217
217
|
- request:
|
218
218
|
method: delete
|
219
219
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:Root_VcsRoot2
|
@@ -229,24 +229,24 @@ http_interactions:
|
|
229
229
|
code: 204
|
230
230
|
message: No Content
|
231
231
|
headers:
|
232
|
-
Date:
|
233
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
234
|
-
Server:
|
235
|
-
- Apache-Coyote/1.1
|
236
232
|
Cache-Control:
|
237
233
|
- no-cache
|
238
234
|
- no-store
|
239
|
-
Pragma:
|
240
|
-
- no-cache
|
241
235
|
Set-Cookie:
|
242
236
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
243
|
-
- TCSESSIONID=
|
237
|
+
- TCSESSIONID=88212790727B54D11D2CC85B7A88B5A0; Path=/; HttpOnly
|
244
238
|
Expires:
|
245
239
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
240
|
+
Server:
|
241
|
+
- Apache-Coyote/1.1
|
242
|
+
Pragma:
|
243
|
+
- no-cache
|
244
|
+
Date:
|
245
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
246
246
|
body:
|
247
247
|
string: ""
|
248
248
|
http_version:
|
249
|
-
recorded_at: Fri, 23 May 2014
|
249
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
250
250
|
- request:
|
251
251
|
method: post
|
252
252
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
|
@@ -262,28 +262,28 @@ http_interactions:
|
|
262
262
|
code: 200
|
263
263
|
message: OK
|
264
264
|
headers:
|
265
|
-
Date:
|
266
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
267
|
-
Server:
|
268
|
-
- Apache-Coyote/1.1
|
269
265
|
Cache-Control:
|
270
266
|
- no-cache
|
271
267
|
- no-store
|
272
|
-
Pragma:
|
273
|
-
- no-cache
|
274
|
-
Transfer-Encoding:
|
275
|
-
- chunked
|
276
|
-
Content-Type:
|
277
|
-
- application/json
|
278
268
|
Set-Cookie:
|
279
269
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
280
|
-
- TCSESSIONID=
|
270
|
+
- TCSESSIONID=D5870A3066030DFCC486DE10C1B21FB1; Path=/; HttpOnly
|
281
271
|
Expires:
|
282
272
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
273
|
+
Transfer-Encoding:
|
274
|
+
- chunked
|
275
|
+
Server:
|
276
|
+
- Apache-Coyote/1.1
|
277
|
+
Pragma:
|
278
|
+
- no-cache
|
279
|
+
Date:
|
280
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
281
|
+
Content-Type:
|
282
|
+
- application/json
|
283
283
|
body:
|
284
284
|
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
285
|
http_version:
|
286
|
-
recorded_at: Fri, 23 May 2014
|
286
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
287
287
|
- request:
|
288
288
|
method: post
|
289
289
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject/buildTypes
|
@@ -299,28 +299,28 @@ http_interactions:
|
|
299
299
|
code: 200
|
300
300
|
message: OK
|
301
301
|
headers:
|
302
|
-
Date:
|
303
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
304
|
-
Server:
|
305
|
-
- Apache-Coyote/1.1
|
306
302
|
Cache-Control:
|
307
303
|
- no-cache
|
308
304
|
- no-store
|
309
|
-
Pragma:
|
310
|
-
- no-cache
|
311
|
-
Transfer-Encoding:
|
312
|
-
- chunked
|
313
|
-
Content-Type:
|
314
|
-
- application/json
|
315
305
|
Set-Cookie:
|
316
306
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
317
|
-
- TCSESSIONID=
|
307
|
+
- TCSESSIONID=B95E722A8B31726F3FAD4F7D48654AF3; Path=/; HttpOnly
|
318
308
|
Expires:
|
319
309
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
310
|
+
Transfer-Encoding:
|
311
|
+
- chunked
|
312
|
+
Server:
|
313
|
+
- Apache-Coyote/1.1
|
314
|
+
Pragma:
|
315
|
+
- no-cache
|
316
|
+
Date:
|
317
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
318
|
+
Content-Type:
|
319
|
+
- application/json
|
320
320
|
body:
|
321
321
|
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
322
|
http_version:
|
323
|
-
recorded_at: Fri, 23 May 2014
|
323
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
324
324
|
- request:
|
325
325
|
method: post
|
326
326
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject/buildTypes
|
@@ -336,28 +336,28 @@ http_interactions:
|
|
336
336
|
code: 200
|
337
337
|
message: OK
|
338
338
|
headers:
|
339
|
-
Date:
|
340
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
341
|
-
Server:
|
342
|
-
- Apache-Coyote/1.1
|
343
339
|
Cache-Control:
|
344
340
|
- no-cache
|
345
341
|
- no-store
|
346
|
-
Pragma:
|
347
|
-
- no-cache
|
348
|
-
Transfer-Encoding:
|
349
|
-
- chunked
|
350
|
-
Content-Type:
|
351
|
-
- application/json
|
352
342
|
Set-Cookie:
|
353
343
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
354
|
-
- TCSESSIONID=
|
344
|
+
- TCSESSIONID=9F36D1ED620F9A2087872248B2EF7581; Path=/; HttpOnly
|
355
345
|
Expires:
|
356
346
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
347
|
+
Transfer-Encoding:
|
348
|
+
- chunked
|
349
|
+
Server:
|
350
|
+
- Apache-Coyote/1.1
|
351
|
+
Pragma:
|
352
|
+
- no-cache
|
353
|
+
Date:
|
354
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
355
|
+
Content-Type:
|
356
|
+
- application/json
|
357
357
|
body:
|
358
358
|
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
359
|
http_version:
|
360
|
-
recorded_at: Fri, 23 May 2014
|
360
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|
361
361
|
- request:
|
362
362
|
method: get
|
363
363
|
uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes
|
@@ -373,25 +373,25 @@ http_interactions:
|
|
373
373
|
code: 200
|
374
374
|
message: OK
|
375
375
|
headers:
|
376
|
-
Date:
|
377
|
-
- Fri, 23 May 2014 04:53:05 GMT
|
378
|
-
Server:
|
379
|
-
- Apache-Coyote/1.1
|
380
376
|
Cache-Control:
|
381
377
|
- no-cache
|
382
378
|
- no-store
|
383
|
-
Pragma:
|
384
|
-
- no-cache
|
385
|
-
Transfer-Encoding:
|
386
|
-
- chunked
|
387
|
-
Content-Type:
|
388
|
-
- application/json
|
389
379
|
Set-Cookie:
|
390
380
|
- RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
|
391
|
-
- TCSESSIONID=
|
381
|
+
- TCSESSIONID=D5EC59412EF5B196422493DE1B7C5D7F; Path=/; HttpOnly
|
392
382
|
Expires:
|
393
383
|
- Thu, 01 Jan 1970 00:00:00 GMT
|
384
|
+
Transfer-Encoding:
|
385
|
+
- chunked
|
386
|
+
Server:
|
387
|
+
- Apache-Coyote/1.1
|
388
|
+
Pragma:
|
389
|
+
- no-cache
|
390
|
+
Date:
|
391
|
+
- Fri, 23 May 2014 05:17:08 GMT
|
392
|
+
Content-Type:
|
393
|
+
- application/json
|
394
394
|
body:
|
395
395
|
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
396
|
http_version:
|
397
|
-
recorded_at: Fri, 23 May 2014
|
397
|
+
recorded_at: Fri, 23 May 2014 05:17:08 GMT
|