質問編集履歴
3
詳細を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
### 概要
|
2
|
+
|
3
|
+
|
2
4
|
|
3
5
|
Jenkinsを用いてSVNとの連携を行おうとしているのですが、
|
4
6
|
|
@@ -8,11 +10,29 @@
|
|
8
10
|
|
9
11
|
このようなエラーの対策をご存じの方いらっしゃいましたら教えていただけましたら幸いです。
|
10
12
|
|
13
|
+
|
14
|
+
|
15
|
+
### 発生している問題・エラーメッセージ
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
1. ジョブの設定->ソースコード管理->Subversion->Repository URLを入力
|
20
|
+
|
21
|
+
ジョブの設定->ソースコード管理->Subversion->Credentialsを入力で
|
22
|
+
|
23
|
+
「Unable to access the repository」と出てしまいます
|
24
|
+
|
25
|
+
|
26
|
+
|
11
|
-
以下
|
27
|
+
2. そのままビルドすると以下のエラーメッセージ(ビルドログ)が出力されてしまいます
|
28
|
+
|
29
|
+
|
30
|
+
|
12
|
-
|
31
|
+
### その他
|
13
|
-
|
14
|
-
|
32
|
+
|
33
|
+
|
34
|
+
|
15
|
-
|
35
|
+
#### バージョン
|
16
36
|
|
17
37
|
Jenkins 2.249.2
|
18
38
|
|
@@ -20,234 +40,234 @@
|
|
20
40
|
|
21
41
|
|
22
42
|
|
23
|
-
|
43
|
+
#### ビルドログ
|
24
44
|
|
25
45
|
```
|
26
46
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
47
|
+
ユーザー***が実行
|
48
|
+
|
49
|
+
Running as SYSTEM
|
50
|
+
|
51
|
+
ビルドします。 ワークスペース: C:***
|
52
|
+
|
53
|
+
Checking out a fresh workspace because there's no workspace at C:***
|
54
|
+
|
55
|
+
Cleaning local Directory .
|
56
|
+
|
57
|
+
Checking out http://***.co.jp:***/*** at revision '2020-12-01T08:39:22.631 +0900' --quiet
|
58
|
+
|
59
|
+
ERROR: Failed to check out http://***.co.jp:***/***
|
60
|
+
|
61
|
+
org.tmatesoft.svn.core.SVNException: svn: E175002: unknown host
|
62
|
+
|
63
|
+
svn: E175002: OPTIONS request failed on '/***'
|
64
|
+
|
65
|
+
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:112)
|
66
|
+
|
67
|
+
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:96)
|
68
|
+
|
69
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:765)
|
70
|
+
|
71
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
|
72
|
+
|
73
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340)
|
74
|
+
|
75
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910)
|
76
|
+
|
77
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:702)
|
78
|
+
|
79
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:113)
|
80
|
+
|
81
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1047)
|
82
|
+
|
83
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:169)
|
84
|
+
|
85
|
+
at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getRevisionNumber(SVNBasicDelegate.java:480)
|
86
|
+
|
87
|
+
at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getLocations(SVNBasicDelegate.java:833)
|
88
|
+
|
89
|
+
at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:527)
|
90
|
+
|
91
|
+
at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doCheckout(SVNUpdateClient16.java:875)
|
92
|
+
|
93
|
+
at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:66)
|
94
|
+
|
95
|
+
at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:18)
|
96
|
+
|
97
|
+
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
|
98
|
+
|
99
|
+
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
|
100
|
+
|
101
|
+
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
|
102
|
+
|
103
|
+
at hudson.scm.subversion.CheckoutUpdater$SubversionUpdateTask.perform(CheckoutUpdater.java:130)
|
104
|
+
|
105
|
+
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
|
106
|
+
|
107
|
+
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:176)
|
108
|
+
|
109
|
+
at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:132)
|
110
|
+
|
111
|
+
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
|
112
|
+
|
113
|
+
at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1031)
|
114
|
+
|
115
|
+
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1007)
|
116
|
+
|
117
|
+
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:980)
|
118
|
+
|
119
|
+
at hudson.FilePath.act(FilePath.java:1076)
|
120
|
+
|
121
|
+
at hudson.FilePath.act(FilePath.java:1059)
|
122
|
+
|
123
|
+
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:927)
|
124
|
+
|
125
|
+
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:857)
|
126
|
+
|
127
|
+
at hudson.scm.SCM.checkout(SCM.java:505)
|
128
|
+
|
129
|
+
at hudson.model.AbstractProject.checkout(AbstractProject.java:1206)
|
130
|
+
|
131
|
+
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
|
132
|
+
|
133
|
+
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
|
134
|
+
|
135
|
+
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
|
136
|
+
|
137
|
+
at hudson.model.Run.execute(Run.java:1894)
|
138
|
+
|
139
|
+
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
|
140
|
+
|
141
|
+
at hudson.model.ResourceController.execute(ResourceController.java:97)
|
142
|
+
|
143
|
+
at hudson.model.Executor.run(Executor.java:428)
|
144
|
+
|
145
|
+
Caused by: java.net.UnknownHostException: proxy_server
|
146
|
+
|
147
|
+
at java.net.InetAddress.getAllByName0(Unknown Source)
|
148
|
+
|
149
|
+
at java.net.InetAddress.getAllByName(Unknown Source)
|
150
|
+
|
151
|
+
at java.net.InetAddress.getAllByName(Unknown Source)
|
152
|
+
|
153
|
+
at java.net.InetAddress.getByName(Unknown Source)
|
154
|
+
|
155
|
+
at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createAddres(SVNSocketFactory.java:207)
|
156
|
+
|
157
|
+
at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createPlainSocket(SVNSocketFactory.java:68)
|
158
|
+
|
159
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:132)
|
160
|
+
|
161
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:415)
|
162
|
+
|
163
|
+
... 37 more
|
164
|
+
|
165
|
+
java.net.UnknownHostException: proxy_server
|
166
|
+
|
167
|
+
at java.net.InetAddress.getAllByName0(Unknown Source)
|
168
|
+
|
169
|
+
at java.net.InetAddress.getAllByName(Unknown Source)
|
170
|
+
|
171
|
+
at java.net.InetAddress.getAllByName(Unknown Source)
|
172
|
+
|
173
|
+
at java.net.InetAddress.getByName(Unknown Source)
|
174
|
+
|
175
|
+
at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createAddres(SVNSocketFactory.java:207)
|
176
|
+
|
177
|
+
at org.tmatesoft.svn.core.internal.util.SVNSocketFactory.createPlainSocket(SVNSocketFactory.java:68)
|
178
|
+
|
179
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:132)
|
180
|
+
|
181
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:415)
|
182
|
+
|
183
|
+
Caused: org.tmatesoft.svn.core.SVNException: svn: E175002: unknown host
|
184
|
+
|
185
|
+
svn: E175002: OPTIONS request failed on '/***'
|
186
|
+
|
187
|
+
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:112)
|
188
|
+
|
189
|
+
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:96)
|
190
|
+
|
191
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:765)
|
192
|
+
|
193
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
|
194
|
+
|
195
|
+
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340)
|
196
|
+
|
197
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910)
|
198
|
+
|
199
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:702)
|
200
|
+
|
201
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:113)
|
202
|
+
|
203
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1047)
|
204
|
+
|
205
|
+
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:169)
|
206
|
+
|
207
|
+
at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getRevisionNumber(SVNBasicDelegate.java:480)
|
208
|
+
|
209
|
+
at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.getLocations(SVNBasicDelegate.java:833)
|
210
|
+
|
211
|
+
at org.tmatesoft.svn.core.internal.wc16.SVNBasicDelegate.createRepository(SVNBasicDelegate.java:527)
|
212
|
+
|
213
|
+
at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doCheckout(SVNUpdateClient16.java:875)
|
214
|
+
|
215
|
+
at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:66)
|
216
|
+
|
217
|
+
at org.tmatesoft.svn.core.internal.wc2.old.SvnOldCheckout.run(SvnOldCheckout.java:18)
|
218
|
+
|
219
|
+
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
|
220
|
+
|
221
|
+
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
|
222
|
+
|
223
|
+
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
|
224
|
+
|
225
|
+
at hudson.scm.subversion.CheckoutUpdater$SubversionUpdateTask.perform(CheckoutUpdater.java:130)
|
226
|
+
|
227
|
+
Caused: java.io.IOException: Failed to check out http://***.co.jp:***/***
|
228
|
+
|
229
|
+
at hudson.scm.subversion.CheckoutUpdater$SubversionUpdateTask.perform(CheckoutUpdater.java:141)
|
230
|
+
|
231
|
+
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
|
232
|
+
|
233
|
+
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:176)
|
234
|
+
|
235
|
+
at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:132)
|
236
|
+
|
237
|
+
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:168)
|
238
|
+
|
239
|
+
at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1031)
|
240
|
+
|
241
|
+
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:1007)
|
242
|
+
|
243
|
+
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:980)
|
244
|
+
|
245
|
+
at hudson.FilePath.act(FilePath.java:1076)
|
246
|
+
|
247
|
+
at hudson.FilePath.act(FilePath.java:1059)
|
248
|
+
|
249
|
+
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:927)
|
250
|
+
|
251
|
+
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:857)
|
252
|
+
|
253
|
+
at hudson.scm.SCM.checkout(SCM.java:505)
|
254
|
+
|
255
|
+
at hudson.model.AbstractProject.checkout(AbstractProject.java:1206)
|
256
|
+
|
257
|
+
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
|
258
|
+
|
259
|
+
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
|
260
|
+
|
261
|
+
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
|
262
|
+
|
263
|
+
at hudson.model.Run.execute(Run.java:1894)
|
264
|
+
|
265
|
+
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
|
266
|
+
|
267
|
+
at hudson.model.ResourceController.execute(ResourceController.java:97)
|
268
|
+
|
269
|
+
at hudson.model.Executor.run(Executor.java:428)
|
270
|
+
|
271
|
+
Finished: FAILURE
|
252
272
|
|
253
273
|
```
|
2
Credentialについて追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
ビルド時にエラーが発生してしまいます。
|
6
6
|
|
7
|
+
Jenkins内でジョブの設定に使うCredentialはSVNのユーザIDとパスワードを入力しています。
|
8
|
+
|
7
9
|
このようなエラーの対策をご存じの方いらっしゃいましたら教えていただけましたら幸いです。
|
8
10
|
|
9
11
|
以下に使用しているバージョンとビルドログを記載いたします。
|
1
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
```
|
24
24
|
|
25
|
-
08:39:22 ユーザー
|
25
|
+
08:39:22 ユーザー***が実行
|
26
26
|
|
27
27
|
08:39:22 Running as SYSTEM
|
28
28
|
|