hudson-remote-api 0.7.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +20 -0
- data/README.md +11 -9
- data/Rakefile +10 -0
- data/fixtures/vcr_cassettes/TestHudsonBuildQueue_test_list.yml +38 -0
- data/fixtures/vcr_cassettes/TestHudsonBuild_setup.yml +407 -0
- data/fixtures/vcr_cassettes/TestHudsonBuild_test_build_info.yml +222 -0
- data/fixtures/vcr_cassettes/TestHudsonClient_test_build_job_.yml +52 -0
- data/fixtures/vcr_cassettes/TestHudsonClient_test_build_job_with_parameters_.yml +52 -0
- data/fixtures/vcr_cassettes/TestHudsonClient_test_build_queue_info.yml +38 -0
- data/fixtures/vcr_cassettes/TestHudsonClient_test_create_item_.yml +52 -0
- data/fixtures/vcr_cassettes/TestHudsonClient_test_delete_job_.yml +52 -0
- data/fixtures/vcr_cassettes/TestHudsonClient_test_job_build_info.yml +39 -0
- data/fixtures/vcr_cassettes/TestHudsonClient_test_job_config_info.yml +48 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_build.yml +409 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_build_with_params.yml +189 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_builds_list.yml +192 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_copy.yml +410 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_create.yml +257 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_desc_update.yml +281 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_get.yml +191 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_job_with_spaces.yml +260 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_list.yml +39 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_list_active.yml +39 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_new.yml +561 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_scm_url.yml +728 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_triggers_delete.yml +588 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_triggers_set.yml +346 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_triggers_set_using_shortcut.yml +346 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_url.yml +156 -0
- data/fixtures/vcr_cassettes/TestHudsonJob_test_wipe_out_workspace.yml +685 -0
- data/hudson-remote-api.gemspec +23 -0
- data/lib/hudson-remote-api.rb +3 -128
- data/lib/hudson-remote-api/build.rb +18 -35
- data/lib/hudson-remote-api/build_queue.rb +13 -20
- data/lib/hudson-remote-api/client.rb +179 -0
- data/lib/hudson-remote-api/hudson_xml_api.rb +61 -0
- data/lib/hudson-remote-api/job.rb +207 -345
- data/lib/hudson-remote-api/parser/build_info.rb +37 -0
- data/lib/hudson-remote-api/parser/build_queue_info.rb +19 -0
- data/lib/hudson-remote-api/parser/job_config_info.rb +99 -0
- data/lib/hudson-remote-api/parser/job_info.rb +62 -0
- data/lib/hudson-remote-api/parser/multicast.rb +28 -0
- data/lib/hudson-remote-api/parser/server_info.rb +49 -0
- data/lib/hudson-remote-api/settings.rb +31 -0
- data/lib/hudson-remote-api/version.rb +3 -0
- data/lib/hudson-remote-api/xml_writer/job_config_info.rb +113 -0
- data/test/test_helper.rb +10 -0
- data/test/test_hudson_build.rb +28 -0
- data/test/test_hudson_build_queue.rb +11 -0
- data/test/test_hudson_client.rb +65 -0
- data/test/test_hudson_job.rb +162 -0
- data/test/test_hudson_multicast.rb +9 -0
- data/test/test_hudson_settings.rb +70 -0
- metadata +71 -53
- data/lib/hudson-remote-api/config.rb +0 -46
@@ -0,0 +1,728 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:8080/crumbIssuer/api/xml
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
Content-Type:
|
17
|
+
- text/xml
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
X-Jenkins:
|
24
|
+
- '1.583'
|
25
|
+
X-Jenkins-Session:
|
26
|
+
- 394516d7
|
27
|
+
Content-Type:
|
28
|
+
- application/xml;charset=UTF-8
|
29
|
+
Content-Length:
|
30
|
+
- '107'
|
31
|
+
Server:
|
32
|
+
- Jetty(8.y.z-SNAPSHOT)
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: "<defaultCrumbIssuer><crumb>d6162b9f2e248ec452bad69592fb87ea</crumb><crumbRequestField>.crumb</crumbRequestField></defaultCrumbIssuer>"
|
36
|
+
http_version:
|
37
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
38
|
+
- request:
|
39
|
+
method: get
|
40
|
+
uri: http://localhost:8080/api/xml
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ''
|
44
|
+
headers:
|
45
|
+
Accept-Encoding:
|
46
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
47
|
+
Accept:
|
48
|
+
- "*/*"
|
49
|
+
User-Agent:
|
50
|
+
- Ruby
|
51
|
+
Content-Type:
|
52
|
+
- text/xml
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 200
|
56
|
+
message: OK
|
57
|
+
headers:
|
58
|
+
X-Jenkins:
|
59
|
+
- '1.583'
|
60
|
+
X-Jenkins-Session:
|
61
|
+
- 394516d7
|
62
|
+
Content-Type:
|
63
|
+
- application/xml;charset=UTF-8
|
64
|
+
Content-Length:
|
65
|
+
- '292'
|
66
|
+
Server:
|
67
|
+
- Jetty(8.y.z-SNAPSHOT)
|
68
|
+
body:
|
69
|
+
encoding: UTF-8
|
70
|
+
string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
|
71
|
+
master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><job><name>test_job</name><url>http://localhost:8080/job/test_job/</url><color>blue</color></job><overallLoad></overallLoad><primaryView><name>All</name><url>http://localhost:8080/</url></primaryView><quietingDown>false</quietingDown><slaveAgentPort>0</slaveAgentPort><unlabeledLoad></unlabeledLoad><useCrumbs>true</useCrumbs><useSecurity>false</useSecurity><view><name>All</name><url>http://localhost:8080/</url></view></hudson>"
|
72
|
+
http_version:
|
73
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
74
|
+
- request:
|
75
|
+
method: post
|
76
|
+
uri: http://localhost:8080/createItem
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: name=test_svn_job&mode=hudson.model.FreeStyleProject&config=%3C%3Fxml+version%3D%271.0%27+encoding%3D%27UTF-8%27%3F%3E%0A%3Cproject%3E%0A++%3Cactions%2F%3E%0A++%3Cdescription%3E%3C%2Fdescription%3E%0A++%3CkeepDependencies%3Efalse%3C%2FkeepDependencies%3E%0A++%3Cproperties%2F%3E%0A++%3Cscm+class%3D%22hudson.scm.NullSCM%22%2F%3E%0A++%3CcanRoam%3Etrue%3C%2FcanRoam%3E%0A++%3Cdisabled%3Efalse%3C%2Fdisabled%3E%0A++%3CblockBuildWhenUpstreamBuilding%3Efalse%3C%2FblockBuildWhenUpstreamBuilding%3E%0A++%3Ctriggers+class%3D%22vector%22%2F%3E%0A++%3CconcurrentBuild%3Efalse%3C%2FconcurrentBuild%3E%0A++%3Cbuilders%2F%3E%0A++%3Cpublishers%2F%3E%0A++%3CbuildWrappers%2F%3E%0A%3C%2Fproject%3E
|
80
|
+
headers:
|
81
|
+
Accept-Encoding:
|
82
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
|
+
Accept:
|
84
|
+
- "*/*"
|
85
|
+
User-Agent:
|
86
|
+
- Ruby
|
87
|
+
Content-Type:
|
88
|
+
- application/x-www-form-urlencoded
|
89
|
+
".crumb":
|
90
|
+
- d6162b9f2e248ec452bad69592fb87ea
|
91
|
+
response:
|
92
|
+
status:
|
93
|
+
code: 302
|
94
|
+
message: Found
|
95
|
+
headers:
|
96
|
+
Location:
|
97
|
+
- http://localhost:8080/job/test_svn_job/configure
|
98
|
+
Content-Length:
|
99
|
+
- '0'
|
100
|
+
Server:
|
101
|
+
- Jetty(8.y.z-SNAPSHOT)
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: ''
|
105
|
+
http_version:
|
106
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
107
|
+
- request:
|
108
|
+
method: get
|
109
|
+
uri: http://localhost:8080/api/xml
|
110
|
+
body:
|
111
|
+
encoding: US-ASCII
|
112
|
+
string: ''
|
113
|
+
headers:
|
114
|
+
Accept-Encoding:
|
115
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
116
|
+
Accept:
|
117
|
+
- "*/*"
|
118
|
+
User-Agent:
|
119
|
+
- Ruby
|
120
|
+
Content-Type:
|
121
|
+
- text/xml
|
122
|
+
response:
|
123
|
+
status:
|
124
|
+
code: 200
|
125
|
+
message: OK
|
126
|
+
headers:
|
127
|
+
X-Jenkins:
|
128
|
+
- '1.583'
|
129
|
+
X-Jenkins-Session:
|
130
|
+
- 394516d7
|
131
|
+
Content-Type:
|
132
|
+
- application/xml;charset=UTF-8
|
133
|
+
Content-Length:
|
134
|
+
- '309'
|
135
|
+
Server:
|
136
|
+
- Jetty(8.y.z-SNAPSHOT)
|
137
|
+
body:
|
138
|
+
encoding: UTF-8
|
139
|
+
string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
|
140
|
+
master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><job><name>test_job</name><url>http://localhost:8080/job/test_job/</url><color>blue</color></job><job><name>test_svn_job</name><url>http://localhost:8080/job/test_svn_job/</url><color>notbuilt</color></job><overallLoad></overallLoad><primaryView><name>All</name><url>http://localhost:8080/</url></primaryView><quietingDown>false</quietingDown><slaveAgentPort>0</slaveAgentPort><unlabeledLoad></unlabeledLoad><useCrumbs>true</useCrumbs><useSecurity>false</useSecurity><view><name>All</name><url>http://localhost:8080/</url></view></hudson>"
|
141
|
+
http_version:
|
142
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
143
|
+
- request:
|
144
|
+
method: get
|
145
|
+
uri: http://localhost:8080/crumbIssuer/api/xml
|
146
|
+
body:
|
147
|
+
encoding: US-ASCII
|
148
|
+
string: ''
|
149
|
+
headers:
|
150
|
+
Accept-Encoding:
|
151
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
152
|
+
Accept:
|
153
|
+
- "*/*"
|
154
|
+
User-Agent:
|
155
|
+
- Ruby
|
156
|
+
Content-Type:
|
157
|
+
- text/xml
|
158
|
+
response:
|
159
|
+
status:
|
160
|
+
code: 200
|
161
|
+
message: OK
|
162
|
+
headers:
|
163
|
+
X-Jenkins:
|
164
|
+
- '1.583'
|
165
|
+
X-Jenkins-Session:
|
166
|
+
- 394516d7
|
167
|
+
Content-Type:
|
168
|
+
- application/xml;charset=UTF-8
|
169
|
+
Content-Length:
|
170
|
+
- '107'
|
171
|
+
Server:
|
172
|
+
- Jetty(8.y.z-SNAPSHOT)
|
173
|
+
body:
|
174
|
+
encoding: UTF-8
|
175
|
+
string: "<defaultCrumbIssuer><crumb>d6162b9f2e248ec452bad69592fb87ea</crumb><crumbRequestField>.crumb</crumbRequestField></defaultCrumbIssuer>"
|
176
|
+
http_version:
|
177
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
178
|
+
- request:
|
179
|
+
method: get
|
180
|
+
uri: http://localhost:8080/api/xml
|
181
|
+
body:
|
182
|
+
encoding: US-ASCII
|
183
|
+
string: ''
|
184
|
+
headers:
|
185
|
+
Accept-Encoding:
|
186
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
187
|
+
Accept:
|
188
|
+
- "*/*"
|
189
|
+
User-Agent:
|
190
|
+
- Ruby
|
191
|
+
Content-Type:
|
192
|
+
- text/xml
|
193
|
+
response:
|
194
|
+
status:
|
195
|
+
code: 200
|
196
|
+
message: OK
|
197
|
+
headers:
|
198
|
+
X-Jenkins:
|
199
|
+
- '1.583'
|
200
|
+
X-Jenkins-Session:
|
201
|
+
- 394516d7
|
202
|
+
Content-Type:
|
203
|
+
- application/xml;charset=UTF-8
|
204
|
+
Content-Length:
|
205
|
+
- '309'
|
206
|
+
Server:
|
207
|
+
- Jetty(8.y.z-SNAPSHOT)
|
208
|
+
body:
|
209
|
+
encoding: UTF-8
|
210
|
+
string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
|
211
|
+
master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><job><name>test_job</name><url>http://localhost:8080/job/test_job/</url><color>blue</color></job><job><name>test_svn_job</name><url>http://localhost:8080/job/test_svn_job/</url><color>notbuilt</color></job><overallLoad></overallLoad><primaryView><name>All</name><url>http://localhost:8080/</url></primaryView><quietingDown>false</quietingDown><slaveAgentPort>0</slaveAgentPort><unlabeledLoad></unlabeledLoad><useCrumbs>true</useCrumbs><useSecurity>false</useSecurity><view><name>All</name><url>http://localhost:8080/</url></view></hudson>"
|
212
|
+
http_version:
|
213
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
214
|
+
- request:
|
215
|
+
method: get
|
216
|
+
uri: http://localhost:8080/job/test_svn_job/config.xml
|
217
|
+
body:
|
218
|
+
encoding: US-ASCII
|
219
|
+
string: ''
|
220
|
+
headers:
|
221
|
+
Accept-Encoding:
|
222
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
223
|
+
Accept:
|
224
|
+
- "*/*"
|
225
|
+
User-Agent:
|
226
|
+
- Ruby
|
227
|
+
Content-Type:
|
228
|
+
- text/xml
|
229
|
+
response:
|
230
|
+
status:
|
231
|
+
code: 200
|
232
|
+
message: OK
|
233
|
+
headers:
|
234
|
+
Content-Type:
|
235
|
+
- application/xml
|
236
|
+
Content-Length:
|
237
|
+
- '468'
|
238
|
+
Server:
|
239
|
+
- Jetty(8.y.z-SNAPSHOT)
|
240
|
+
body:
|
241
|
+
encoding: UTF-8
|
242
|
+
string: |-
|
243
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
244
|
+
<project>
|
245
|
+
<keepDependencies>false</keepDependencies>
|
246
|
+
<properties/>
|
247
|
+
<scm class="hudson.scm.NullSCM"/>
|
248
|
+
<canRoam>false</canRoam>
|
249
|
+
<disabled>false</disabled>
|
250
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
251
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
252
|
+
<triggers/>
|
253
|
+
<concurrentBuild>false</concurrentBuild>
|
254
|
+
<builders/>
|
255
|
+
<publishers/>
|
256
|
+
<buildWrappers/>
|
257
|
+
</project>
|
258
|
+
http_version:
|
259
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
260
|
+
- request:
|
261
|
+
method: get
|
262
|
+
uri: http://localhost:8080/job/test_svn_job/api/xml
|
263
|
+
body:
|
264
|
+
encoding: US-ASCII
|
265
|
+
string: ''
|
266
|
+
headers:
|
267
|
+
Accept-Encoding:
|
268
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
269
|
+
Accept:
|
270
|
+
- "*/*"
|
271
|
+
User-Agent:
|
272
|
+
- Ruby
|
273
|
+
Content-Type:
|
274
|
+
- text/xml
|
275
|
+
response:
|
276
|
+
status:
|
277
|
+
code: 200
|
278
|
+
message: OK
|
279
|
+
headers:
|
280
|
+
X-Jenkins:
|
281
|
+
- '1.583'
|
282
|
+
X-Jenkins-Session:
|
283
|
+
- 394516d7
|
284
|
+
Content-Type:
|
285
|
+
- application/xml;charset=UTF-8
|
286
|
+
Content-Length:
|
287
|
+
- '200'
|
288
|
+
Server:
|
289
|
+
- Jetty(8.y.z-SNAPSHOT)
|
290
|
+
body:
|
291
|
+
encoding: UTF-8
|
292
|
+
string: "<freeStyleProject><displayName>test_svn_job</displayName><name>test_svn_job</name><url>http://localhost:8080/job/test_svn_job/</url><buildable>true</buildable><color>notbuilt</color><inQueue>false</inQueue><keepDependencies>false</keepDependencies><nextBuildNumber>1</nextBuildNumber><concurrentBuild>false</concurrentBuild><scm></scm></freeStyleProject>"
|
293
|
+
http_version:
|
294
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
295
|
+
- request:
|
296
|
+
method: get
|
297
|
+
uri: http://localhost:8080/job/test_svn_job/config.xml
|
298
|
+
body:
|
299
|
+
encoding: US-ASCII
|
300
|
+
string: ''
|
301
|
+
headers:
|
302
|
+
Accept-Encoding:
|
303
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
304
|
+
Accept:
|
305
|
+
- "*/*"
|
306
|
+
User-Agent:
|
307
|
+
- Ruby
|
308
|
+
Content-Type:
|
309
|
+
- text/xml
|
310
|
+
response:
|
311
|
+
status:
|
312
|
+
code: 200
|
313
|
+
message: OK
|
314
|
+
headers:
|
315
|
+
Content-Type:
|
316
|
+
- application/xml
|
317
|
+
Content-Length:
|
318
|
+
- '468'
|
319
|
+
Server:
|
320
|
+
- Jetty(8.y.z-SNAPSHOT)
|
321
|
+
body:
|
322
|
+
encoding: UTF-8
|
323
|
+
string: |-
|
324
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
325
|
+
<project>
|
326
|
+
<keepDependencies>false</keepDependencies>
|
327
|
+
<properties/>
|
328
|
+
<scm class="hudson.scm.NullSCM"/>
|
329
|
+
<canRoam>false</canRoam>
|
330
|
+
<disabled>false</disabled>
|
331
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
332
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
333
|
+
<triggers/>
|
334
|
+
<concurrentBuild>false</concurrentBuild>
|
335
|
+
<builders/>
|
336
|
+
<publishers/>
|
337
|
+
<buildWrappers/>
|
338
|
+
</project>
|
339
|
+
http_version:
|
340
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
341
|
+
- request:
|
342
|
+
method: get
|
343
|
+
uri: http://localhost:8080/job/test_svn_job/api/xml
|
344
|
+
body:
|
345
|
+
encoding: US-ASCII
|
346
|
+
string: ''
|
347
|
+
headers:
|
348
|
+
Accept-Encoding:
|
349
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
350
|
+
Accept:
|
351
|
+
- "*/*"
|
352
|
+
User-Agent:
|
353
|
+
- Ruby
|
354
|
+
Content-Type:
|
355
|
+
- text/xml
|
356
|
+
response:
|
357
|
+
status:
|
358
|
+
code: 200
|
359
|
+
message: OK
|
360
|
+
headers:
|
361
|
+
X-Jenkins:
|
362
|
+
- '1.583'
|
363
|
+
X-Jenkins-Session:
|
364
|
+
- 394516d7
|
365
|
+
Content-Type:
|
366
|
+
- application/xml;charset=UTF-8
|
367
|
+
Content-Length:
|
368
|
+
- '200'
|
369
|
+
Server:
|
370
|
+
- Jetty(8.y.z-SNAPSHOT)
|
371
|
+
body:
|
372
|
+
encoding: UTF-8
|
373
|
+
string: "<freeStyleProject><displayName>test_svn_job</displayName><name>test_svn_job</name><url>http://localhost:8080/job/test_svn_job/</url><buildable>true</buildable><color>notbuilt</color><inQueue>false</inQueue><keepDependencies>false</keepDependencies><nextBuildNumber>1</nextBuildNumber><concurrentBuild>false</concurrentBuild><scm></scm></freeStyleProject>"
|
374
|
+
http_version:
|
375
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
376
|
+
- request:
|
377
|
+
method: post
|
378
|
+
uri: http://localhost:8080/job/test_svn_job/build
|
379
|
+
body:
|
380
|
+
encoding: US-ASCII
|
381
|
+
string: delay=0sec
|
382
|
+
headers:
|
383
|
+
Accept-Encoding:
|
384
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
385
|
+
Accept:
|
386
|
+
- "*/*"
|
387
|
+
User-Agent:
|
388
|
+
- Ruby
|
389
|
+
Content-Type:
|
390
|
+
- application/x-www-form-urlencoded
|
391
|
+
".crumb":
|
392
|
+
- d6162b9f2e248ec452bad69592fb87ea
|
393
|
+
response:
|
394
|
+
status:
|
395
|
+
code: 201
|
396
|
+
message: Created
|
397
|
+
headers:
|
398
|
+
Location:
|
399
|
+
- http://localhost:8080/queue/item/8/
|
400
|
+
Content-Length:
|
401
|
+
- '0'
|
402
|
+
Server:
|
403
|
+
- Jetty(8.y.z-SNAPSHOT)
|
404
|
+
body:
|
405
|
+
encoding: UTF-8
|
406
|
+
string: ''
|
407
|
+
http_version:
|
408
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
409
|
+
- request:
|
410
|
+
method: post
|
411
|
+
uri: http://localhost:8080/job/test_svn_job/config.xml
|
412
|
+
body:
|
413
|
+
encoding: UTF-8
|
414
|
+
string: |-
|
415
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
416
|
+
<project>
|
417
|
+
<keepDependencies>false</keepDependencies>
|
418
|
+
<properties/>
|
419
|
+
<scm class='hudson.scm.SubversionSCM'>
|
420
|
+
<locations>
|
421
|
+
<hudson.scm.SubversionSCM_-ModuleLocation>
|
422
|
+
<remote>http://svn.apache.org/repos/asf/subversion/trunk/doc/user/</remote>
|
423
|
+
<local>.</local>
|
424
|
+
</hudson.scm.SubversionSCM_-ModuleLocation>
|
425
|
+
</locations>
|
426
|
+
<excludedRegions/>
|
427
|
+
<includedRegions/>
|
428
|
+
<excludedUsers/>
|
429
|
+
<excludedRevprop/>
|
430
|
+
<excludedCommitMessages/>
|
431
|
+
<workspaceUpdater class='hudson.scm.subversion.UpdateUpdater'/>
|
432
|
+
</scm>
|
433
|
+
|
434
|
+
<canRoam>false</canRoam>
|
435
|
+
<disabled>false</disabled>
|
436
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
437
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
438
|
+
<triggers/>
|
439
|
+
<concurrentBuild>false</concurrentBuild>
|
440
|
+
<builders/>
|
441
|
+
<publishers/>
|
442
|
+
<buildWrappers/>
|
443
|
+
</project>
|
444
|
+
headers:
|
445
|
+
Accept-Encoding:
|
446
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
447
|
+
Accept:
|
448
|
+
- "*/*"
|
449
|
+
User-Agent:
|
450
|
+
- Ruby
|
451
|
+
".crumb":
|
452
|
+
- d6162b9f2e248ec452bad69592fb87ea
|
453
|
+
response:
|
454
|
+
status:
|
455
|
+
code: 200
|
456
|
+
message: OK
|
457
|
+
headers:
|
458
|
+
Content-Length:
|
459
|
+
- '0'
|
460
|
+
Server:
|
461
|
+
- Jetty(8.y.z-SNAPSHOT)
|
462
|
+
body:
|
463
|
+
encoding: UTF-8
|
464
|
+
string: ''
|
465
|
+
http_version:
|
466
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
467
|
+
- request:
|
468
|
+
method: get
|
469
|
+
uri: http://localhost:8080/crumbIssuer/api/xml
|
470
|
+
body:
|
471
|
+
encoding: US-ASCII
|
472
|
+
string: ''
|
473
|
+
headers:
|
474
|
+
Accept-Encoding:
|
475
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
476
|
+
Accept:
|
477
|
+
- "*/*"
|
478
|
+
User-Agent:
|
479
|
+
- Ruby
|
480
|
+
Content-Type:
|
481
|
+
- text/xml
|
482
|
+
response:
|
483
|
+
status:
|
484
|
+
code: 200
|
485
|
+
message: OK
|
486
|
+
headers:
|
487
|
+
X-Jenkins:
|
488
|
+
- '1.583'
|
489
|
+
X-Jenkins-Session:
|
490
|
+
- 394516d7
|
491
|
+
Content-Type:
|
492
|
+
- application/xml;charset=UTF-8
|
493
|
+
Content-Length:
|
494
|
+
- '107'
|
495
|
+
Server:
|
496
|
+
- Jetty(8.y.z-SNAPSHOT)
|
497
|
+
body:
|
498
|
+
encoding: UTF-8
|
499
|
+
string: "<defaultCrumbIssuer><crumb>d6162b9f2e248ec452bad69592fb87ea</crumb><crumbRequestField>.crumb</crumbRequestField></defaultCrumbIssuer>"
|
500
|
+
http_version:
|
501
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
502
|
+
- request:
|
503
|
+
method: get
|
504
|
+
uri: http://localhost:8080/api/xml
|
505
|
+
body:
|
506
|
+
encoding: US-ASCII
|
507
|
+
string: ''
|
508
|
+
headers:
|
509
|
+
Accept-Encoding:
|
510
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
511
|
+
Accept:
|
512
|
+
- "*/*"
|
513
|
+
User-Agent:
|
514
|
+
- Ruby
|
515
|
+
Content-Type:
|
516
|
+
- text/xml
|
517
|
+
response:
|
518
|
+
status:
|
519
|
+
code: 200
|
520
|
+
message: OK
|
521
|
+
headers:
|
522
|
+
X-Jenkins:
|
523
|
+
- '1.583'
|
524
|
+
X-Jenkins-Session:
|
525
|
+
- 394516d7
|
526
|
+
Content-Type:
|
527
|
+
- application/xml;charset=UTF-8
|
528
|
+
Content-Length:
|
529
|
+
- '312'
|
530
|
+
Server:
|
531
|
+
- Jetty(8.y.z-SNAPSHOT)
|
532
|
+
body:
|
533
|
+
encoding: UTF-8
|
534
|
+
string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
|
535
|
+
master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><job><name>test_job</name><url>http://localhost:8080/job/test_job/</url><color>blue</color></job><job><name>test_svn_job</name><url>http://localhost:8080/job/test_svn_job/</url><color>notbuilt_anime</color></job><overallLoad></overallLoad><primaryView><name>All</name><url>http://localhost:8080/</url></primaryView><quietingDown>false</quietingDown><slaveAgentPort>0</slaveAgentPort><unlabeledLoad></unlabeledLoad><useCrumbs>true</useCrumbs><useSecurity>false</useSecurity><view><name>All</name><url>http://localhost:8080/</url></view></hudson>"
|
536
|
+
http_version:
|
537
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
538
|
+
- request:
|
539
|
+
method: get
|
540
|
+
uri: http://localhost:8080/job/test_svn_job/config.xml
|
541
|
+
body:
|
542
|
+
encoding: US-ASCII
|
543
|
+
string: ''
|
544
|
+
headers:
|
545
|
+
Accept-Encoding:
|
546
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
547
|
+
Accept:
|
548
|
+
- "*/*"
|
549
|
+
User-Agent:
|
550
|
+
- Ruby
|
551
|
+
Content-Type:
|
552
|
+
- text/xml
|
553
|
+
response:
|
554
|
+
status:
|
555
|
+
code: 200
|
556
|
+
message: OK
|
557
|
+
headers:
|
558
|
+
Content-Type:
|
559
|
+
- application/xml
|
560
|
+
Content-Length:
|
561
|
+
- '877'
|
562
|
+
Server:
|
563
|
+
- Jetty(8.y.z-SNAPSHOT)
|
564
|
+
body:
|
565
|
+
encoding: UTF-8
|
566
|
+
string: |-
|
567
|
+
<?xml version="1.0" encoding="UTF-8"?><project>
|
568
|
+
<keepDependencies>false</keepDependencies>
|
569
|
+
<properties/>
|
570
|
+
<scm class="hudson.scm.SubversionSCM">
|
571
|
+
<locations>
|
572
|
+
<hudson.scm.SubversionSCM_-ModuleLocation>
|
573
|
+
<remote>http://svn.apache.org/repos/asf/subversion/trunk/doc/user/</remote>
|
574
|
+
<local>.</local>
|
575
|
+
</hudson.scm.SubversionSCM_-ModuleLocation>
|
576
|
+
</locations>
|
577
|
+
<excludedRegions/>
|
578
|
+
<includedRegions/>
|
579
|
+
<excludedUsers/>
|
580
|
+
<excludedRevprop/>
|
581
|
+
<excludedCommitMessages/>
|
582
|
+
<workspaceUpdater class="hudson.scm.subversion.UpdateUpdater"/>
|
583
|
+
</scm>
|
584
|
+
|
585
|
+
<canRoam>false</canRoam>
|
586
|
+
<disabled>false</disabled>
|
587
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
588
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
589
|
+
<triggers/>
|
590
|
+
<concurrentBuild>false</concurrentBuild>
|
591
|
+
<builders/>
|
592
|
+
<publishers/>
|
593
|
+
<buildWrappers/>
|
594
|
+
</project>
|
595
|
+
http_version:
|
596
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
597
|
+
- request:
|
598
|
+
method: get
|
599
|
+
uri: http://localhost:8080/job/test_svn_job/api/xml
|
600
|
+
body:
|
601
|
+
encoding: US-ASCII
|
602
|
+
string: ''
|
603
|
+
headers:
|
604
|
+
Accept-Encoding:
|
605
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
606
|
+
Accept:
|
607
|
+
- "*/*"
|
608
|
+
User-Agent:
|
609
|
+
- Ruby
|
610
|
+
Content-Type:
|
611
|
+
- text/xml
|
612
|
+
response:
|
613
|
+
status:
|
614
|
+
code: 200
|
615
|
+
message: OK
|
616
|
+
headers:
|
617
|
+
X-Jenkins:
|
618
|
+
- '1.583'
|
619
|
+
X-Jenkins-Session:
|
620
|
+
- 394516d7
|
621
|
+
Content-Type:
|
622
|
+
- application/xml;charset=UTF-8
|
623
|
+
Content-Length:
|
624
|
+
- '364'
|
625
|
+
Server:
|
626
|
+
- Jetty(8.y.z-SNAPSHOT)
|
627
|
+
body:
|
628
|
+
encoding: UTF-8
|
629
|
+
string: "<freeStyleProject><displayName>test_svn_job</displayName><name>test_svn_job</name><url>http://localhost:8080/job/test_svn_job/</url><buildable>true</buildable><build><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></build><color>blue</color><firstBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></firstBuild><healthReport><description>Build
|
630
|
+
stability: No recent builds failed.</description><iconClassName>icon-health-80plus</iconClassName><iconUrl>health-80plus.png</iconUrl><score>100</score></healthReport><inQueue>false</inQueue><keepDependencies>false</keepDependencies><lastBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></lastBuild><lastCompletedBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></lastCompletedBuild><lastStableBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></lastStableBuild><lastSuccessfulBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></lastSuccessfulBuild><nextBuildNumber>2</nextBuildNumber><concurrentBuild>false</concurrentBuild><scm></scm></freeStyleProject>"
|
631
|
+
http_version:
|
632
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
633
|
+
- request:
|
634
|
+
method: get
|
635
|
+
uri: http://localhost:8080/job/test_svn_job/config.xml
|
636
|
+
body:
|
637
|
+
encoding: US-ASCII
|
638
|
+
string: ''
|
639
|
+
headers:
|
640
|
+
Accept-Encoding:
|
641
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
642
|
+
Accept:
|
643
|
+
- "*/*"
|
644
|
+
User-Agent:
|
645
|
+
- Ruby
|
646
|
+
Content-Type:
|
647
|
+
- text/xml
|
648
|
+
response:
|
649
|
+
status:
|
650
|
+
code: 200
|
651
|
+
message: OK
|
652
|
+
headers:
|
653
|
+
Content-Type:
|
654
|
+
- application/xml
|
655
|
+
Content-Length:
|
656
|
+
- '877'
|
657
|
+
Server:
|
658
|
+
- Jetty(8.y.z-SNAPSHOT)
|
659
|
+
body:
|
660
|
+
encoding: UTF-8
|
661
|
+
string: |-
|
662
|
+
<?xml version="1.0" encoding="UTF-8"?><project>
|
663
|
+
<keepDependencies>false</keepDependencies>
|
664
|
+
<properties/>
|
665
|
+
<scm class="hudson.scm.SubversionSCM">
|
666
|
+
<locations>
|
667
|
+
<hudson.scm.SubversionSCM_-ModuleLocation>
|
668
|
+
<remote>http://svn.apache.org/repos/asf/subversion/trunk/doc/user/</remote>
|
669
|
+
<local>.</local>
|
670
|
+
</hudson.scm.SubversionSCM_-ModuleLocation>
|
671
|
+
</locations>
|
672
|
+
<excludedRegions/>
|
673
|
+
<includedRegions/>
|
674
|
+
<excludedUsers/>
|
675
|
+
<excludedRevprop/>
|
676
|
+
<excludedCommitMessages/>
|
677
|
+
<workspaceUpdater class="hudson.scm.subversion.UpdateUpdater"/>
|
678
|
+
</scm>
|
679
|
+
|
680
|
+
<canRoam>false</canRoam>
|
681
|
+
<disabled>false</disabled>
|
682
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
683
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
684
|
+
<triggers/>
|
685
|
+
<concurrentBuild>false</concurrentBuild>
|
686
|
+
<builders/>
|
687
|
+
<publishers/>
|
688
|
+
<buildWrappers/>
|
689
|
+
</project>
|
690
|
+
http_version:
|
691
|
+
recorded_at: Mon, 17 Nov 2014 18:54:28 GMT
|
692
|
+
- request:
|
693
|
+
method: get
|
694
|
+
uri: http://localhost:8080/job/test_svn_job/api/xml
|
695
|
+
body:
|
696
|
+
encoding: US-ASCII
|
697
|
+
string: ''
|
698
|
+
headers:
|
699
|
+
Accept-Encoding:
|
700
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
701
|
+
Accept:
|
702
|
+
- "*/*"
|
703
|
+
User-Agent:
|
704
|
+
- Ruby
|
705
|
+
Content-Type:
|
706
|
+
- text/xml
|
707
|
+
response:
|
708
|
+
status:
|
709
|
+
code: 200
|
710
|
+
message: OK
|
711
|
+
headers:
|
712
|
+
X-Jenkins:
|
713
|
+
- '1.583'
|
714
|
+
X-Jenkins-Session:
|
715
|
+
- cdced1b2
|
716
|
+
Content-Type:
|
717
|
+
- application/xml;charset=UTF-8
|
718
|
+
Content-Length:
|
719
|
+
- '364'
|
720
|
+
Server:
|
721
|
+
- Jetty(8.y.z-SNAPSHOT)
|
722
|
+
body:
|
723
|
+
encoding: UTF-8
|
724
|
+
string: "<freeStyleProject><displayName>test_svn_job</displayName><name>test_svn_job</name><url>http://localhost:8080/job/test_svn_job/</url><buildable>true</buildable><build><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></build><color>blue</color><firstBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></firstBuild><healthReport><description>Build
|
725
|
+
stability: No recent builds failed.</description><iconClassName>icon-health-80plus</iconClassName><iconUrl>health-80plus.png</iconUrl><score>100</score></healthReport><inQueue>false</inQueue><keepDependencies>false</keepDependencies><lastBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></lastBuild><lastCompletedBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></lastCompletedBuild><lastStableBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></lastStableBuild><lastSuccessfulBuild><number>1</number><url>http://localhost:8080/job/test_svn_job/1/</url></lastSuccessfulBuild><nextBuildNumber>2</nextBuildNumber><concurrentBuild>false</concurrentBuild><scm></scm></freeStyleProject>"
|
726
|
+
http_version:
|
727
|
+
recorded_at: Mon, 17 Nov 2014 18:54:28 GMT
|
728
|
+
recorded_with: VCR 2.9.3
|