teamcity_ruby 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (19) hide show
  1. data/lib/teamcity_ruby/build_configuration.rb +38 -15
  2. data/lib/teamcity_ruby/version.rb +1 -1
  3. data/lib/teamcity_ruby.rb +2 -0
  4. data/spec/cassettes/TeamcityRuby_BuildConfiguration/{a_existing_build_configuration/can_get_a_build_step_added_to_it.yml → an_existing_build_configuration/has_a_build_step_added_to_it.yml} +103 -103
  5. data/spec/cassettes/TeamcityRuby_BuildConfiguration/{a_existing_build_configuration/can_get_a_build_trigger_added_to_it.yml → an_existing_build_configuration/has_a_build_trigger_added_to_it.yml} +93 -93
  6. data/spec/cassettes/TeamcityRuby_BuildConfiguration/{a_existing_build_configuration/can_get_a_vcs_root_attached_with_specific_checkout_rules.yml → an_existing_build_configuration/has_a_vcs_root_attached_to_it_with_specific_checkout_rules.yml} +106 -106
  7. data/spec/cassettes/TeamcityRuby_BuildConfiguration/an_existing_build_configuration/has_settings_definitions.yml +333 -0
  8. data/spec/cassettes/TeamcityRuby_BuildConfiguration/fetches_a_specific_build_configuration_by_id.yml +80 -80
  9. data/spec/cassettes/TeamcityRuby_BuildConfiguration/lists_all_build_configurations.yml +116 -116
  10. data/spec/cassettes/TeamcityRuby_Project/creates_a_project_copying_its_settings_from_a_source_project.yml +93 -93
  11. data/spec/cassettes/TeamcityRuby_Project/creates_a_project_with_a_parent_project.yml +48 -48
  12. data/spec/cassettes/TeamcityRuby_Project/destroys_a_specific_project.yml +64 -64
  13. data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_id_locator.yml +64 -64
  14. data/spec/cassettes/TeamcityRuby_Project/fetches_a_specific_project_by_name_locator.yml +56 -56
  15. data/spec/cassettes/TeamcityRuby_Project/lists_all_projects_including_root_built_in_on_TeamCity_.yml +68 -68
  16. data/spec/cassettes/TeamcityRuby_VcsRoot/lists_all_vcs_roots.yml +52 -52
  17. data/spec/spec_helper.rb +1 -0
  18. data/spec/teamcity_ruby/build_configuration_spec.rb +12 -4
  19. metadata +12 -10
@@ -51,27 +51,50 @@ module TeamcityRuby
51
51
  get_with_properties("/buildTypes/id:#{teamcity_id}/triggers")
52
52
  end
53
53
 
54
- private
54
+ def settings(&block)
55
+ settings = {}
56
+
57
+ if block_given?
58
+ yield(settings)
55
59
 
56
- def with_normalized_properties(hash)
57
- Hashie::Mash.new(hash).tap do |mash|
58
- mash[:properties] = mash[:properties].delete(:property)
59
- mash[:properties] = mash[:properties].map do |p|
60
- { p["name"] => p["value"] }
61
- end
60
+ settings.each do |name, value|
61
+ change_field("/settings/#{name}", value)
62
62
  end
63
63
  end
64
64
 
65
- def get_with_properties(url)
66
- response = client.get(url)
67
- root = response.keys.first
68
- response[root].map { |i| with_normalized_properties(i) }
65
+ response = client.get("/buildTypes/id:#{teamcity_id}/settings")
66
+ flat_properties(response)
67
+ end
68
+
69
+ private
70
+
71
+ def change_field(name, value)
72
+ path = "/buildTypes/#{teamcity_id}#{name}"
73
+ client.put(path, :body => value, :headers => { 'Content-type' => 'text/plain' })
74
+ end
75
+
76
+ def with_normalized_properties(hash)
77
+ Hashie::Mash.new(hash).tap do |mash|
78
+ mash[:properties] = flat_properties(mash[:properties])
69
79
  end
80
+ end
70
81
 
71
- def post_with_properties(url, attributes, &block)
72
- builder = TeamCity::ElementBuilder.new(attributes, &block)
73
- response = client.post(url, :body => builder.to_request_body)
74
- with_normalized_properties(response)
82
+ def flat_properties(properties)
83
+ properties.delete("property").map do |p|
84
+ { p["name"] => p["value"] }
75
85
  end
86
+ end
87
+
88
+ def get_with_properties(url)
89
+ response = client.get(url)
90
+ root = response.keys.first
91
+ response[root].map { |i| with_normalized_properties(i) }
92
+ end
93
+
94
+ def post_with_properties(url, attributes, &block)
95
+ builder = TeamCity::ElementBuilder.new(attributes, &block)
96
+ response = client.post(url, :body => builder.to_request_body)
97
+ with_normalized_properties(response)
98
+ end
76
99
  end
77
100
  end
@@ -1,3 +1,3 @@
1
1
  module TeamcityRuby
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/teamcity_ruby.rb CHANGED
@@ -3,9 +3,11 @@ directory = File.expand_path(File.dirname(__FILE__))
3
3
  require "teamcity_ruby/version"
4
4
  require "httparty"
5
5
  require "hashie"
6
+ require "json"
6
7
 
7
8
  module TeamcityRuby
8
9
  include HTTParty
10
+
9
11
  format :json
10
12
  base_uri 'http://localhost:8111/httpAuth/app/rest/'
11
13
  headers 'Accept' => 'application/json'
@@ -17,27 +17,27 @@ http_interactions:
17
17
  message: OK
18
18
  headers:
19
19
  Date:
20
- - Sat, 19 Apr 2014 18:41:00 GMT
21
- Transfer-Encoding:
22
- - chunked
20
+ - Fri, 23 May 2014 04:53:05 GMT
23
21
  Server:
24
22
  - Apache-Coyote/1.1
25
- Set-Cookie:
26
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
27
- - TCSESSIONID=93D400E7EA6009AC8E9FAECC552737B6; Path=/; HttpOnly
28
- Content-Type:
29
- - application/json
23
+ Cache-Control:
24
+ - no-cache
25
+ - no-store
30
26
  Pragma:
31
27
  - no-cache
28
+ Transfer-Encoding:
29
+ - chunked
30
+ Content-Type:
31
+ - application/json
32
+ Set-Cookie:
33
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
34
+ - TCSESSIONID=2D698BF97148A32AD66D0DF7991662E8; Path=/; HttpOnly
32
35
  Expires:
33
36
  - Thu, 01 Jan 1970 00:00:00 GMT
34
- Cache-Control:
35
- - no-cache
36
- - no-store
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: Sat, 19 Apr 2014 18:38:16 GMT
40
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT
41
41
  - request:
42
42
  method: delete
43
43
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:_Root
@@ -54,30 +54,30 @@ http_interactions:
54
54
  message: Forbidden
55
55
  headers:
56
56
  Date:
57
- - Sat, 19 Apr 2014 18:41:01 GMT
58
- Transfer-Encoding:
59
- - chunked
57
+ - Fri, 23 May 2014 04:53:05 GMT
60
58
  Server:
61
59
  - Apache-Coyote/1.1
62
- Set-Cookie:
63
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
64
- - TCSESSIONID=A0BBFB28C79A6AD53AAB5E8E444AAD7C; Path=/; HttpOnly
65
- Content-Type:
66
- - text/plain
60
+ Cache-Control:
61
+ - no-cache
62
+ - no-store
67
63
  Pragma:
68
64
  - no-cache
65
+ Transfer-Encoding:
66
+ - chunked
67
+ Content-Type:
68
+ - text/plain
69
+ Set-Cookie:
70
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
71
+ - TCSESSIONID=81FF80F5DB64848D0986CD9C8ACE7D0F; Path=/; HttpOnly
69
72
  Expires:
70
73
  - Thu, 01 Jan 1970 00:00:00 GMT
71
- Cache-Control:
72
- - no-cache
73
- - no-store
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: Sat, 19 Apr 2014 18:38:16 GMT
80
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT
81
81
  - request:
82
82
  method: delete
83
83
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject
@@ -94,23 +94,23 @@ http_interactions:
94
94
  message: No Content
95
95
  headers:
96
96
  Date:
97
- - Sat, 19 Apr 2014 18:41:01 GMT
97
+ - Fri, 23 May 2014 04:53:05 GMT
98
98
  Server:
99
99
  - Apache-Coyote/1.1
100
- Set-Cookie:
101
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
102
- - TCSESSIONID=FD3C05EA3F9289A54CB4F0D05AAD57CE; Path=/; HttpOnly
100
+ Cache-Control:
101
+ - no-cache
102
+ - no-store
103
103
  Pragma:
104
104
  - no-cache
105
+ Set-Cookie:
106
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
107
+ - TCSESSIONID=ADA29B601AEC7768C7C998B6DF4FE26B; Path=/; HttpOnly
105
108
  Expires:
106
109
  - Thu, 01 Jan 1970 00:00:00 GMT
107
- Cache-Control:
108
- - no-cache
109
- - no-store
110
110
  body:
111
111
  string: ""
112
112
  http_version:
113
- recorded_at: Sat, 19 Apr 2014 18:38:16 GMT
113
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT
114
114
  - request:
115
115
  method: get
116
116
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots
@@ -127,27 +127,27 @@ http_interactions:
127
127
  message: OK
128
128
  headers:
129
129
  Date:
130
- - Sat, 19 Apr 2014 18:41:01 GMT
131
- Transfer-Encoding:
132
- - chunked
130
+ - Fri, 23 May 2014 04:53:05 GMT
133
131
  Server:
134
132
  - Apache-Coyote/1.1
135
- Set-Cookie:
136
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
137
- - TCSESSIONID=F43631682537BDA77AEE8BFBF6E99EE3; Path=/; HttpOnly
138
- Content-Type:
139
- - application/json
133
+ Cache-Control:
134
+ - no-cache
135
+ - no-store
140
136
  Pragma:
141
137
  - no-cache
138
+ Transfer-Encoding:
139
+ - chunked
140
+ Content-Type:
141
+ - application/json
142
+ Set-Cookie:
143
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
144
+ - TCSESSIONID=52628BEE7788339FEB0125DAFDB96B5F; Path=/; HttpOnly
142
145
  Expires:
143
146
  - Thu, 01 Jan 1970 00:00:00 GMT
144
- Cache-Control:
145
- - no-cache
146
- - no-store
147
147
  body:
148
148
  string: "{\"count\":1,\"vcs-root\":[{\"id\":\"Root_SampleVcsRoot\",\"name\":\"Sample VCS Root\",\"href\":\"/httpAuth/app/rest/vcs-roots/id:Root_SampleVcsRoot\"}]}"
149
149
  http_version:
150
- recorded_at: Sat, 19 Apr 2014 18:38:16 GMT
150
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT
151
151
  - request:
152
152
  method: delete
153
153
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/vcs-roots/id:Root_SampleVcsRoot
@@ -164,23 +164,23 @@ http_interactions:
164
164
  message: No Content
165
165
  headers:
166
166
  Date:
167
- - Sat, 19 Apr 2014 18:41:01 GMT
167
+ - Fri, 23 May 2014 04:53:05 GMT
168
168
  Server:
169
169
  - Apache-Coyote/1.1
170
- Set-Cookie:
171
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
172
- - TCSESSIONID=1C4DB66D5CEE56B3632C9FF06672BDBF; Path=/; HttpOnly
170
+ Cache-Control:
171
+ - no-cache
172
+ - no-store
173
173
  Pragma:
174
174
  - no-cache
175
+ Set-Cookie:
176
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
177
+ - TCSESSIONID=1115525828587CC955BA4BF950BD72EA; Path=/; HttpOnly
175
178
  Expires:
176
179
  - Thu, 01 Jan 1970 00:00:00 GMT
177
- Cache-Control:
178
- - no-cache
179
- - no-store
180
180
  body:
181
181
  string: ""
182
182
  http_version:
183
- recorded_at: Sat, 19 Apr 2014 18:38:16 GMT
183
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT
184
184
  - request:
185
185
  method: post
186
186
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects
@@ -197,27 +197,27 @@ http_interactions:
197
197
  message: OK
198
198
  headers:
199
199
  Date:
200
- - Sat, 19 Apr 2014 18:41:01 GMT
201
- Transfer-Encoding:
202
- - chunked
200
+ - Fri, 23 May 2014 04:53:05 GMT
203
201
  Server:
204
202
  - Apache-Coyote/1.1
205
- Set-Cookie:
206
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
207
- - TCSESSIONID=6081BA606A34E6ED00C9BDBC9B511B9E; Path=/; HttpOnly
208
- Content-Type:
209
- - application/json
203
+ Cache-Control:
204
+ - no-cache
205
+ - no-store
210
206
  Pragma:
211
207
  - no-cache
208
+ Transfer-Encoding:
209
+ - chunked
210
+ Content-Type:
211
+ - application/json
212
+ Set-Cookie:
213
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
214
+ - TCSESSIONID=E714CECF3031B7BDE06A4A42EA89A651; Path=/; HttpOnly
212
215
  Expires:
213
216
  - Thu, 01 Jan 1970 00:00:00 GMT
214
- Cache-Control:
215
- - no-cache
216
- - no-store
217
217
  body:
218
218
  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\"}"
219
219
  http_version:
220
- recorded_at: Sat, 19 Apr 2014 18:38:16 GMT
220
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT
221
221
  - request:
222
222
  method: post
223
223
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/projects/id:SampleProject/buildTypes
@@ -234,32 +234,32 @@ http_interactions:
234
234
  message: OK
235
235
  headers:
236
236
  Date:
237
- - Sat, 19 Apr 2014 18:41:01 GMT
238
- Transfer-Encoding:
239
- - chunked
237
+ - Fri, 23 May 2014 04:53:05 GMT
240
238
  Server:
241
239
  - Apache-Coyote/1.1
242
- Set-Cookie:
243
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
244
- - TCSESSIONID=FF4F050B07A9F32FA38B6AF493DA28C0; Path=/; HttpOnly
245
- Content-Type:
246
- - application/json
240
+ Cache-Control:
241
+ - no-cache
242
+ - no-store
247
243
  Pragma:
248
244
  - no-cache
245
+ Transfer-Encoding:
246
+ - chunked
247
+ Content-Type:
248
+ - application/json
249
+ Set-Cookie:
250
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
251
+ - TCSESSIONID=AA893ACBE11F4490C012D4EA660B6083; Path=/; HttpOnly
249
252
  Expires:
250
253
  - Thu, 01 Jan 1970 00:00:00 GMT
251
- Cache-Control:
252
- - no-cache
253
- - no-store
254
254
  body:
255
255
  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\":[]}}"
256
256
  http_version:
257
- recorded_at: Sat, 19 Apr 2014 18:38:16 GMT
257
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT
258
258
  - request:
259
259
  method: post
260
260
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/steps
261
261
  body:
262
- string: "{\"type\":\"Maven\",\"name\":\"Sample Step\",\"properties\":{\"property\":[{\"value\":\"verify\",\"name\":\"goals\"}]}}"
262
+ string: "{\"properties\":{\"property\":[{\"value\":\"verify\",\"name\":\"goals\"}]},\"type\":\"Maven\",\"name\":\"Sample Step\"}"
263
263
  headers:
264
264
  Accept:
265
265
  - application/json
@@ -271,27 +271,27 @@ http_interactions:
271
271
  message: OK
272
272
  headers:
273
273
  Date:
274
- - Sat, 19 Apr 2014 18:41:01 GMT
275
- Transfer-Encoding:
276
- - chunked
274
+ - Fri, 23 May 2014 04:53:05 GMT
277
275
  Server:
278
276
  - Apache-Coyote/1.1
279
- Set-Cookie:
280
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
281
- - TCSESSIONID=2997F3ABCCF5466ADC508F54988D0AC2; Path=/; HttpOnly
282
- Content-Type:
283
- - application/json
277
+ Cache-Control:
278
+ - no-cache
279
+ - no-store
284
280
  Pragma:
285
281
  - no-cache
282
+ Transfer-Encoding:
283
+ - chunked
284
+ Content-Type:
285
+ - application/json
286
+ Set-Cookie:
287
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
288
+ - TCSESSIONID=7B9E3297FEA4E9F1861522AE1F8B6EB9; Path=/; HttpOnly
286
289
  Expires:
287
290
  - Thu, 01 Jan 1970 00:00:00 GMT
288
- Cache-Control:
289
- - no-cache
290
- - no-store
291
291
  body:
292
- string: "{\"id\":\"RUNNER_3\",\"name\":\"Sample Step\",\"type\":\"Maven\",\"properties\":{\"property\":[{\"name\":\"goals\",\"value\":\"verify\"}]}}"
292
+ string: "{\"id\":\"RUNNER_46\",\"name\":\"Sample Step\",\"type\":\"Maven\",\"properties\":{\"property\":[{\"name\":\"goals\",\"value\":\"verify\"}]}}"
293
293
  http_version:
294
- recorded_at: Sat, 19 Apr 2014 18:38:16 GMT
294
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT
295
295
  - request:
296
296
  method: get
297
297
  uri: http://teamcity:teamcity@localhost:8111/httpAuth/app/rest/buildTypes/id:SampleProject_SampleBuildConfiguration/steps
@@ -308,24 +308,24 @@ http_interactions:
308
308
  message: OK
309
309
  headers:
310
310
  Date:
311
- - Sat, 19 Apr 2014 18:41:01 GMT
312
- Transfer-Encoding:
313
- - chunked
311
+ - Fri, 23 May 2014 04:53:05 GMT
314
312
  Server:
315
313
  - Apache-Coyote/1.1
316
- Set-Cookie:
317
- - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
318
- - TCSESSIONID=02A5C9C49A6801D0337D184F8785DB7B; Path=/; HttpOnly
319
- Content-Type:
320
- - application/json
314
+ Cache-Control:
315
+ - no-cache
316
+ - no-store
321
317
  Pragma:
322
318
  - no-cache
319
+ Transfer-Encoding:
320
+ - chunked
321
+ Content-Type:
322
+ - application/json
323
+ Set-Cookie:
324
+ - RememberMe=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
325
+ - TCSESSIONID=74AC86D09833CEB4071576A3B6DC8673; Path=/; HttpOnly
323
326
  Expires:
324
327
  - Thu, 01 Jan 1970 00:00:00 GMT
325
- Cache-Control:
326
- - no-cache
327
- - no-store
328
328
  body:
329
- string: "{\"step\":[{\"id\":\"RUNNER_3\",\"name\":\"Sample Step\",\"type\":\"Maven\",\"properties\":{\"property\":[{\"name\":\"goals\",\"value\":\"verify\"}]}}]}"
329
+ string: "{\"step\":[{\"id\":\"RUNNER_46\",\"name\":\"Sample Step\",\"type\":\"Maven\",\"properties\":{\"property\":[{\"name\":\"goals\",\"value\":\"verify\"}]}}]}"
330
330
  http_version:
331
- recorded_at: Sat, 19 Apr 2014 18:38:16 GMT
331
+ recorded_at: Fri, 23 May 2014 04:53:06 GMT