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,191 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://localhost:8080/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
|
+
- '292'
|
31
|
+
Server:
|
32
|
+
- Jetty(8.y.z-SNAPSHOT)
|
33
|
+
body:
|
34
|
+
encoding: UTF-8
|
35
|
+
string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
|
36
|
+
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>"
|
37
|
+
http_version:
|
38
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
39
|
+
- request:
|
40
|
+
method: get
|
41
|
+
uri: http://localhost:8080/crumbIssuer/api/xml
|
42
|
+
body:
|
43
|
+
encoding: US-ASCII
|
44
|
+
string: ''
|
45
|
+
headers:
|
46
|
+
Accept-Encoding:
|
47
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
48
|
+
Accept:
|
49
|
+
- "*/*"
|
50
|
+
User-Agent:
|
51
|
+
- Ruby
|
52
|
+
Content-Type:
|
53
|
+
- text/xml
|
54
|
+
response:
|
55
|
+
status:
|
56
|
+
code: 200
|
57
|
+
message: OK
|
58
|
+
headers:
|
59
|
+
X-Jenkins:
|
60
|
+
- '1.583'
|
61
|
+
X-Jenkins-Session:
|
62
|
+
- 394516d7
|
63
|
+
Content-Type:
|
64
|
+
- application/xml;charset=UTF-8
|
65
|
+
Content-Length:
|
66
|
+
- '107'
|
67
|
+
Server:
|
68
|
+
- Jetty(8.y.z-SNAPSHOT)
|
69
|
+
body:
|
70
|
+
encoding: UTF-8
|
71
|
+
string: "<defaultCrumbIssuer><crumb>d6162b9f2e248ec452bad69592fb87ea</crumb><crumbRequestField>.crumb</crumbRequestField></defaultCrumbIssuer>"
|
72
|
+
http_version:
|
73
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: http://localhost:8080/api/xml
|
77
|
+
body:
|
78
|
+
encoding: US-ASCII
|
79
|
+
string: ''
|
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
|
+
- text/xml
|
89
|
+
response:
|
90
|
+
status:
|
91
|
+
code: 200
|
92
|
+
message: OK
|
93
|
+
headers:
|
94
|
+
X-Jenkins:
|
95
|
+
- '1.583'
|
96
|
+
X-Jenkins-Session:
|
97
|
+
- 394516d7
|
98
|
+
Content-Type:
|
99
|
+
- application/xml;charset=UTF-8
|
100
|
+
Content-Length:
|
101
|
+
- '292'
|
102
|
+
Server:
|
103
|
+
- Jetty(8.y.z-SNAPSHOT)
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
|
107
|
+
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>"
|
108
|
+
http_version:
|
109
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
110
|
+
- request:
|
111
|
+
method: get
|
112
|
+
uri: http://localhost:8080/job/test_job/config.xml
|
113
|
+
body:
|
114
|
+
encoding: US-ASCII
|
115
|
+
string: ''
|
116
|
+
headers:
|
117
|
+
Accept-Encoding:
|
118
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
119
|
+
Accept:
|
120
|
+
- "*/*"
|
121
|
+
User-Agent:
|
122
|
+
- Ruby
|
123
|
+
Content-Type:
|
124
|
+
- text/xml
|
125
|
+
response:
|
126
|
+
status:
|
127
|
+
code: 200
|
128
|
+
message: OK
|
129
|
+
headers:
|
130
|
+
Content-Type:
|
131
|
+
- application/xml
|
132
|
+
Content-Length:
|
133
|
+
- '498'
|
134
|
+
Server:
|
135
|
+
- Jetty(8.y.z-SNAPSHOT)
|
136
|
+
body:
|
137
|
+
encoding: UTF-8
|
138
|
+
string: |-
|
139
|
+
<?xml version="1.0" encoding="UTF-8"?><project>
|
140
|
+
<keepDependencies>false</keepDependencies>
|
141
|
+
<properties/>
|
142
|
+
<scm class="hudson.scm.NullSCM"/>
|
143
|
+
<canRoam>false</canRoam>
|
144
|
+
<disabled>false</disabled>
|
145
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
146
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
147
|
+
<triggers/>
|
148
|
+
<concurrentBuild>false</concurrentBuild>
|
149
|
+
<builders/>
|
150
|
+
<publishers/>
|
151
|
+
<buildWrappers/>
|
152
|
+
<description>test</description></project>
|
153
|
+
http_version:
|
154
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
155
|
+
- request:
|
156
|
+
method: get
|
157
|
+
uri: http://localhost:8080/job/test_job/api/xml
|
158
|
+
body:
|
159
|
+
encoding: US-ASCII
|
160
|
+
string: ''
|
161
|
+
headers:
|
162
|
+
Accept-Encoding:
|
163
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
164
|
+
Accept:
|
165
|
+
- "*/*"
|
166
|
+
User-Agent:
|
167
|
+
- Ruby
|
168
|
+
Content-Type:
|
169
|
+
- text/xml
|
170
|
+
response:
|
171
|
+
status:
|
172
|
+
code: 200
|
173
|
+
message: OK
|
174
|
+
headers:
|
175
|
+
X-Jenkins:
|
176
|
+
- '1.583'
|
177
|
+
X-Jenkins-Session:
|
178
|
+
- 394516d7
|
179
|
+
Content-Type:
|
180
|
+
- application/xml;charset=UTF-8
|
181
|
+
Content-Length:
|
182
|
+
- '376'
|
183
|
+
Server:
|
184
|
+
- Jetty(8.y.z-SNAPSHOT)
|
185
|
+
body:
|
186
|
+
encoding: UTF-8
|
187
|
+
string: "<freeStyleProject><description>test</description><displayName>test_job</displayName><name>test_job</name><url>http://localhost:8080/job/test_job/</url><buildable>true</buildable><build><number>2</number><url>http://localhost:8080/job/test_job/2/</url></build><build><number>1</number><url>http://localhost:8080/job/test_job/1/</url></build><color>blue</color><firstBuild><number>1</number><url>http://localhost:8080/job/test_job/1/</url></firstBuild><healthReport><description>Build
|
188
|
+
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>2</number><url>http://localhost:8080/job/test_job/2/</url></lastBuild><lastCompletedBuild><number>2</number><url>http://localhost:8080/job/test_job/2/</url></lastCompletedBuild><lastStableBuild><number>2</number><url>http://localhost:8080/job/test_job/2/</url></lastStableBuild><lastSuccessfulBuild><number>2</number><url>http://localhost:8080/job/test_job/2/</url></lastSuccessfulBuild><nextBuildNumber>3</nextBuildNumber><concurrentBuild>false</concurrentBuild><scm></scm></freeStyleProject>"
|
189
|
+
http_version:
|
190
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
191
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,260 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://localhost:8080/createItem
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: name=test+job+with+spaces&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
|
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
|
+
- application/x-www-form-urlencoded
|
18
|
+
".crumb":
|
19
|
+
- d6162b9f2e248ec452bad69592fb87ea
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 302
|
23
|
+
message: Found
|
24
|
+
headers:
|
25
|
+
Location:
|
26
|
+
- http://localhost:8080/job/test%20job%20with%20spaces/configure
|
27
|
+
Content-Length:
|
28
|
+
- '0'
|
29
|
+
Server:
|
30
|
+
- Jetty(8.y.z-SNAPSHOT)
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: ''
|
34
|
+
http_version:
|
35
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
36
|
+
- request:
|
37
|
+
method: get
|
38
|
+
uri: http://localhost:8080/api/xml
|
39
|
+
body:
|
40
|
+
encoding: US-ASCII
|
41
|
+
string: ''
|
42
|
+
headers:
|
43
|
+
Accept-Encoding:
|
44
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
45
|
+
Accept:
|
46
|
+
- "*/*"
|
47
|
+
User-Agent:
|
48
|
+
- Ruby
|
49
|
+
Content-Type:
|
50
|
+
- text/xml
|
51
|
+
response:
|
52
|
+
status:
|
53
|
+
code: 200
|
54
|
+
message: OK
|
55
|
+
headers:
|
56
|
+
X-Jenkins:
|
57
|
+
- '1.583'
|
58
|
+
X-Jenkins-Session:
|
59
|
+
- 394516d7
|
60
|
+
Content-Type:
|
61
|
+
- application/xml;charset=UTF-8
|
62
|
+
Content-Length:
|
63
|
+
- '326'
|
64
|
+
Server:
|
65
|
+
- Jetty(8.y.z-SNAPSHOT)
|
66
|
+
body:
|
67
|
+
encoding: UTF-8
|
68
|
+
string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
|
69
|
+
master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><job><name>test
|
70
|
+
job with spaces</name><url>http://localhost:8080/job/test%20job%20with%20spaces/</url><color>notbuilt</color></job><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>"
|
71
|
+
http_version:
|
72
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
73
|
+
- request:
|
74
|
+
method: get
|
75
|
+
uri: http://localhost:8080/crumbIssuer/api/xml
|
76
|
+
body:
|
77
|
+
encoding: US-ASCII
|
78
|
+
string: ''
|
79
|
+
headers:
|
80
|
+
Accept-Encoding:
|
81
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
82
|
+
Accept:
|
83
|
+
- "*/*"
|
84
|
+
User-Agent:
|
85
|
+
- Ruby
|
86
|
+
Content-Type:
|
87
|
+
- text/xml
|
88
|
+
response:
|
89
|
+
status:
|
90
|
+
code: 200
|
91
|
+
message: OK
|
92
|
+
headers:
|
93
|
+
X-Jenkins:
|
94
|
+
- '1.583'
|
95
|
+
X-Jenkins-Session:
|
96
|
+
- 394516d7
|
97
|
+
Content-Type:
|
98
|
+
- application/xml;charset=UTF-8
|
99
|
+
Content-Length:
|
100
|
+
- '107'
|
101
|
+
Server:
|
102
|
+
- Jetty(8.y.z-SNAPSHOT)
|
103
|
+
body:
|
104
|
+
encoding: UTF-8
|
105
|
+
string: "<defaultCrumbIssuer><crumb>d6162b9f2e248ec452bad69592fb87ea</crumb><crumbRequestField>.crumb</crumbRequestField></defaultCrumbIssuer>"
|
106
|
+
http_version:
|
107
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
108
|
+
- request:
|
109
|
+
method: get
|
110
|
+
uri: http://localhost:8080/api/xml
|
111
|
+
body:
|
112
|
+
encoding: US-ASCII
|
113
|
+
string: ''
|
114
|
+
headers:
|
115
|
+
Accept-Encoding:
|
116
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
117
|
+
Accept:
|
118
|
+
- "*/*"
|
119
|
+
User-Agent:
|
120
|
+
- Ruby
|
121
|
+
Content-Type:
|
122
|
+
- text/xml
|
123
|
+
response:
|
124
|
+
status:
|
125
|
+
code: 200
|
126
|
+
message: OK
|
127
|
+
headers:
|
128
|
+
X-Jenkins:
|
129
|
+
- '1.583'
|
130
|
+
X-Jenkins-Session:
|
131
|
+
- 394516d7
|
132
|
+
Content-Type:
|
133
|
+
- application/xml;charset=UTF-8
|
134
|
+
Content-Length:
|
135
|
+
- '326'
|
136
|
+
Server:
|
137
|
+
- Jetty(8.y.z-SNAPSHOT)
|
138
|
+
body:
|
139
|
+
encoding: UTF-8
|
140
|
+
string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
|
141
|
+
master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><job><name>test
|
142
|
+
job with spaces</name><url>http://localhost:8080/job/test%20job%20with%20spaces/</url><color>notbuilt</color></job><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>"
|
143
|
+
http_version:
|
144
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
145
|
+
- request:
|
146
|
+
method: get
|
147
|
+
uri: http://localhost:8080/job/test%20job%20with%20spaces/config.xml
|
148
|
+
body:
|
149
|
+
encoding: US-ASCII
|
150
|
+
string: ''
|
151
|
+
headers:
|
152
|
+
Accept-Encoding:
|
153
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
154
|
+
Accept:
|
155
|
+
- "*/*"
|
156
|
+
User-Agent:
|
157
|
+
- Ruby
|
158
|
+
Content-Type:
|
159
|
+
- text/xml
|
160
|
+
response:
|
161
|
+
status:
|
162
|
+
code: 200
|
163
|
+
message: OK
|
164
|
+
headers:
|
165
|
+
Content-Type:
|
166
|
+
- application/xml
|
167
|
+
Content-Length:
|
168
|
+
- '468'
|
169
|
+
Server:
|
170
|
+
- Jetty(8.y.z-SNAPSHOT)
|
171
|
+
body:
|
172
|
+
encoding: UTF-8
|
173
|
+
string: |-
|
174
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
175
|
+
<project>
|
176
|
+
<keepDependencies>false</keepDependencies>
|
177
|
+
<properties/>
|
178
|
+
<scm class="hudson.scm.NullSCM"/>
|
179
|
+
<canRoam>false</canRoam>
|
180
|
+
<disabled>false</disabled>
|
181
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
182
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
183
|
+
<triggers/>
|
184
|
+
<concurrentBuild>false</concurrentBuild>
|
185
|
+
<builders/>
|
186
|
+
<publishers/>
|
187
|
+
<buildWrappers/>
|
188
|
+
</project>
|
189
|
+
http_version:
|
190
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
191
|
+
- request:
|
192
|
+
method: get
|
193
|
+
uri: http://localhost:8080/job/test%20job%20with%20spaces/api/xml
|
194
|
+
body:
|
195
|
+
encoding: US-ASCII
|
196
|
+
string: ''
|
197
|
+
headers:
|
198
|
+
Accept-Encoding:
|
199
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
200
|
+
Accept:
|
201
|
+
- "*/*"
|
202
|
+
User-Agent:
|
203
|
+
- Ruby
|
204
|
+
Content-Type:
|
205
|
+
- text/xml
|
206
|
+
response:
|
207
|
+
status:
|
208
|
+
code: 200
|
209
|
+
message: OK
|
210
|
+
headers:
|
211
|
+
X-Jenkins:
|
212
|
+
- '1.583'
|
213
|
+
X-Jenkins-Session:
|
214
|
+
- 394516d7
|
215
|
+
Content-Type:
|
216
|
+
- application/xml;charset=UTF-8
|
217
|
+
Content-Length:
|
218
|
+
- '218'
|
219
|
+
Server:
|
220
|
+
- Jetty(8.y.z-SNAPSHOT)
|
221
|
+
body:
|
222
|
+
encoding: UTF-8
|
223
|
+
string: "<freeStyleProject><displayName>test job with spaces</displayName><name>test
|
224
|
+
job with spaces</name><url>http://localhost:8080/job/test%20job%20with%20spaces/</url><buildable>true</buildable><color>notbuilt</color><inQueue>false</inQueue><keepDependencies>false</keepDependencies><nextBuildNumber>1</nextBuildNumber><concurrentBuild>false</concurrentBuild><scm></scm></freeStyleProject>"
|
225
|
+
http_version:
|
226
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
227
|
+
- request:
|
228
|
+
method: post
|
229
|
+
uri: http://localhost:8080/job/test%20job%20with%20spaces/doDelete
|
230
|
+
body:
|
231
|
+
encoding: US-ASCII
|
232
|
+
string: ''
|
233
|
+
headers:
|
234
|
+
Accept-Encoding:
|
235
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
236
|
+
Accept:
|
237
|
+
- "*/*"
|
238
|
+
User-Agent:
|
239
|
+
- Ruby
|
240
|
+
Content-Type:
|
241
|
+
- application/x-www-form-urlencoded
|
242
|
+
".crumb":
|
243
|
+
- d6162b9f2e248ec452bad69592fb87ea
|
244
|
+
response:
|
245
|
+
status:
|
246
|
+
code: 302
|
247
|
+
message: Found
|
248
|
+
headers:
|
249
|
+
Location:
|
250
|
+
- http://localhost:8080/
|
251
|
+
Content-Length:
|
252
|
+
- '0'
|
253
|
+
Server:
|
254
|
+
- Jetty(8.y.z-SNAPSHOT)
|
255
|
+
body:
|
256
|
+
encoding: UTF-8
|
257
|
+
string: ''
|
258
|
+
http_version:
|
259
|
+
recorded_at: Fri, 07 Nov 2014 06:42:54 GMT
|
260
|
+
recorded_with: VCR 2.9.3
|