-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBuild_Log.txt
447 lines (435 loc) · 30.2 KB
/
Build_Log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
Started by user Subodh Cyber
Building remotely on Jenkins-Slave in workspace /root/jenkins-slave/workspace/MyTomcat Pipeline
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/subodhp/CI-CD-Jenkins-Docker-Github.git # timeout=10
Fetching upstream changes from https://github.com/subodhp/CI-CD-Jenkins-Docker-Github.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/subodhp/CI-CD-Jenkins-Docker-Github.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 2cb761eb77454a7469b012e5df47aec615940ff1 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2cb761eb77454a7469b012e5df47aec615940ff1
First time build. Skipping changelog.
[MyTomcat Pipeline] $ docker build -t 172.17.0.2:5000/mytomcat:jenkins --pull=true "/root/jenkins-slave/workspace/MyTomcat Pipeline"
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
Sending build context to Docker daemon 77.82 kB
Step 1 : FROM 172.17.0.2:5000/centos_systemd:latest
Trying to pull repository 172.17.0.2:5000/centos_systemd ...
sha256:574fa523dd5bc722c0efdde118b68090921041b71ba252df4b9cadf969745c98: Pulling from 172.17.0.2:5000/centos_systemd
Digest: sha256:574fa523dd5bc722c0efdde118b68090921041b71ba252df4b9cadf969745c98
Status: Image is up to date for 172.17.0.2:5000/centos_systemd:latest
---> 4c8d701144c0
Step 2 : MAINTAINER Subodh Pachghare version: 0.1 <[email protected]>
---> Running in 81e58243c5b9
---> d2bd54cb0b6d
Removing intermediate container 81e58243c5b9
Step 3 : RUN yum install -y tomcat tomcat-webapps tomcat-admin-webapps wget
---> Running in 70bc594fbfcf
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* extras: mirror.fibergrid.in
* updates: centos.myfahim.com
Resolving Dependencies
--> Running transaction check
---> Package tomcat.noarch 0:7.0.69-11.el7_3 will be installed
--> Processing Dependency: tomcat-lib = 7.0.69-11.el7_3 for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: java >= 1:1.6.0 for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-pool for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-logging for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-dbcp for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-daemon for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-collections for package: tomcat-7.0.69-11.el7_3.noarch
---> Package tomcat-admin-webapps.noarch 0:7.0.69-11.el7_3 will be installed
---> Package tomcat-webapps.noarch 0:7.0.69-11.el7_3 will be installed
--> Processing Dependency: jakarta-taglibs-standard >= 1.1 for package: tomcat-webapps-7.0.69-11.el7_3.noarch
---> Package wget.x86_64 0:1.14-13.el7 will be installed
--> Running transaction check
---> Package apache-commons-collections.noarch 0:3.2.1-22.el7_2 will be installed
---> Package apache-commons-daemon.x86_64 0:1.0.13-6.el7 will be installed
---> Package apache-commons-dbcp.noarch 0:1.4-17.el7 will be installed
--> Processing Dependency: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec) for package: apache-commons-dbcp-1.4-17.el7.noarch
---> Package apache-commons-logging.noarch 0:1.1.2-7.el7 will be installed
--> Processing Dependency: mvn(logkit:logkit) for package: apache-commons-logging-1.1.2-7.el7.noarch
--> Processing Dependency: mvn(log4j:log4j) for package: apache-commons-logging-1.1.2-7.el7.noarch
--> Processing Dependency: mvn(avalon-framework:avalon-framework-api) for package: apache-commons-logging-1.1.2-7.el7.noarch
---> Package apache-commons-pool.noarch 0:1.6-9.el7 will be installed
---> Package jakarta-taglibs-standard.noarch 0:1.1.2-14.el7_1 will be installed
--> Processing Dependency: xalan-j2 >= 2.6.0 for package: jakarta-taglibs-standard-1.1.2-14.el7_1.noarch
--> Processing Dependency: tomcat-servlet-3.0-api for package: jakarta-taglibs-standard-1.1.2-14.el7_1.noarch
--> Processing Dependency: tomcat-jsp-2.2-api for package: jakarta-taglibs-standard-1.1.2-14.el7_1.noarch
---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.131-3.b12.el7_3 will be installed
--> Processing Dependency: java-1.8.0-openjdk-headless = 1:1.8.0.131-3.b12.el7_3 for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libasound.so.2(ALSA_0.9)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: fontconfig(x86-64) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libasound.so.2()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXext.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXcomposite.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
---> Package tomcat-lib.noarch 0:7.0.69-11.el7_3 will be installed
--> Processing Dependency: tomcat-el-2.2-api = 7.0.69-11.el7_3 for package: tomcat-lib-7.0.69-11.el7_3.noarch
--> Processing Dependency: ecj >= 1:4.2.1 for package: tomcat-lib-7.0.69-11.el7_3.noarch
--> Running transaction check
---> Package alsa-lib.x86_64 0:1.1.1-1.el7 will be installed
---> Package avalon-framework.noarch 0:4.3-10.el7 will be installed
---> Package avalon-logkit.noarch 0:2.1-14.el7 will be installed
--> Processing Dependency: jms for package: avalon-logkit-2.1-14.el7.noarch
---> Package ecj.x86_64 1:4.2.1-8.el7 will be installed
---> Package fontconfig.x86_64 0:2.10.95-10.el7 will be installed
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.10.95-10.el7.x86_64
---> Package geronimo-jta.noarch 0:1.1.1-17.el7 will be installed
---> Package giflib.x86_64 0:4.1.6-9.el7 will be installed
--> Processing Dependency: libSM.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.131-2.b11.el7_3 will be updated
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.131-3.b12.el7_3 will be an update
---> Package libX11.x86_64 0:1.6.3-3.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.3-3.el7 for package: libX11-1.6.3-3.el7.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.3-3.el7.x86_64
---> Package libXcomposite.x86_64 0:0.4.4-4.1.el7 will be installed
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libXi.x86_64 0:1.7.4-2.el7 will be installed
---> Package libXrender.x86_64 0:0.9.8-2.1.el7 will be installed
---> Package libXtst.x86_64 0:1.2.2-2.1.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be installed
---> Package log4j.noarch 0:1.2.17-15.el7 will be installed
--> Processing Dependency: mvn(javax.mail:mail) for package: log4j-1.2.17-15.el7.noarch
---> Package tomcat-el-2.2-api.noarch 0:7.0.69-11.el7_3 will be installed
---> Package tomcat-jsp-2.2-api.noarch 0:7.0.69-11.el7_3 will be installed
---> Package tomcat-servlet-3.0-api.noarch 0:7.0.69-11.el7_3 will be installed
---> Package xalan-j2.noarch 0:2.7.1-23.el7 will be installed
--> Processing Dependency: xerces-j2 for package: xalan-j2-2.7.1-23.el7.noarch
--> Processing Dependency: osgi(org.apache.xerces) for package: xalan-j2-2.7.1-23.el7.noarch
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Running transaction check
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package geronimo-jms.noarch 0:1.1.1-19.el7 will be installed
---> Package javamail.noarch 0:1.4.6-8.el7 will be installed
---> Package libICE.x86_64 0:1.0.9-2.el7 will be installed
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
---> Package libX11-common.noarch 0:1.6.3-3.el7 will be installed
---> Package libxcb.x86_64 0:1.11-4.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.11-4.el7.x86_64
---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed
---> Package xerces-j2.noarch 0:2.11.0-17.el7_0 will be installed
--> Processing Dependency: xml-commons-resolver >= 1.2 for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: xml-commons-apis >= 1.4.01 for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: osgi(org.apache.xml.resolver) for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: osgi(javax.xml) for package: xerces-j2-2.11.0-17.el7_0.noarch
---> Package xorg-x11-font-utils.x86_64 1:7.5-20.el7 will be installed
--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--> Running transaction check
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libXfont.x86_64 0:1.5.1-2.el7 will be installed
---> Package libfontenc.x86_64 0:1.1.2-3.el7 will be installed
---> Package xml-commons-apis.noarch 0:1.4.01-16.el7 will be installed
---> Package xml-commons-resolver.noarch 0:1.2-15.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
tomcat noarch 7.0.69-11.el7_3 updates 89 k
tomcat-admin-webapps noarch 7.0.69-11.el7_3 updates 41 k
tomcat-webapps noarch 7.0.69-11.el7_3 updates 357 k
wget x86_64 1.14-13.el7 base 546 k
Installing for dependencies:
alsa-lib x86_64 1.1.1-1.el7 base 415 k
apache-commons-collections noarch 3.2.1-22.el7_2 base 509 k
apache-commons-daemon x86_64 1.0.13-6.el7 base 54 k
apache-commons-dbcp noarch 1.4-17.el7 base 167 k
apache-commons-logging noarch 1.1.2-7.el7 base 78 k
apache-commons-pool noarch 1.6-9.el7 base 113 k
avalon-framework noarch 4.3-10.el7 base 88 k
avalon-logkit noarch 2.1-14.el7 base 87 k
ecj x86_64 1:4.2.1-8.el7 base 1.4 M
fontconfig x86_64 2.10.95-10.el7 base 229 k
fontpackages-filesystem noarch 1.44-8.el7 base 9.9 k
geronimo-jms noarch 1.1.1-19.el7 base 31 k
geronimo-jta noarch 1.1.1-17.el7 base 20 k
giflib x86_64 4.1.6-9.el7 base 40 k
jakarta-taglibs-standard noarch 1.1.2-14.el7_1 base 303 k
java-1.8.0-openjdk x86_64 1:1.8.0.131-3.b12.el7_3 updates 233 k
javamail noarch 1.4.6-8.el7 base 758 k
libICE x86_64 1.0.9-2.el7 base 65 k
libSM x86_64 1.2.2-2.el7 base 39 k
libX11 x86_64 1.6.3-3.el7 base 606 k
libX11-common noarch 1.6.3-3.el7 base 162 k
libXau x86_64 1.0.8-2.1.el7 base 29 k
libXcomposite x86_64 0.4.4-4.1.el7 base 22 k
libXext x86_64 1.3.3-3.el7 base 39 k
libXfont x86_64 1.5.1-2.el7 base 150 k
libXi x86_64 1.7.4-2.el7 base 40 k
libXrender x86_64 0.9.8-2.1.el7 base 25 k
libXtst x86_64 1.2.2-2.1.el7 base 20 k
libfontenc x86_64 1.1.2-3.el7 base 30 k
libpng x86_64 2:1.5.13-7.el7_2 base 213 k
libxcb x86_64 1.11-4.el7 base 189 k
log4j noarch 1.2.17-15.el7 base 443 k
tomcat-el-2.2-api noarch 7.0.69-11.el7_3 updates 79 k
tomcat-jsp-2.2-api noarch 7.0.69-11.el7_3 updates 93 k
tomcat-lib noarch 7.0.69-11.el7_3 updates 3.8 M
tomcat-servlet-3.0-api noarch 7.0.69-11.el7_3 updates 210 k
ttmkfdir x86_64 3.0.9-42.el7 base 48 k
xalan-j2 noarch 2.7.1-23.el7 base 1.9 M
xerces-j2 noarch 2.11.0-17.el7_0 base 1.1 M
xml-commons-apis noarch 1.4.01-16.el7 base 227 k
xml-commons-resolver noarch 1.2-15.el7 base 108 k
xorg-x11-font-utils x86_64 1:7.5-20.el7 base 87 k
xorg-x11-fonts-Type1 noarch 7.5-9.el7 base 521 k
Updating for dependencies:
java-1.8.0-openjdk-headless x86_64 1:1.8.0.131-3.b12.el7_3 updates 31 M
Transaction Summary
================================================================================
Install 4 Packages (+43 Dependent packages)
Upgrade ( 1 Dependent package)
Total download size: 47 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total 223 kB/s | 47 MB 03:35
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : tomcat-servlet-3.0-api-7.0.69-11.el7_3.noarch 1/49
Installing : tomcat-jsp-2.2-api-7.0.69-11.el7_3.noarch 2/49
Installing : libICE-1.0.9-2.el7.x86_64 3/49
Installing : libfontenc-1.1.2-3.el7.x86_64 4/49
Installing : libXfont-1.5.1-2.el7.x86_64 5/49
Installing : 1:xorg-x11-font-utils-7.5-20.el7.x86_64 6/49
Installing : libSM-1.2.2-2.el7.x86_64 7/49
Installing : alsa-lib-1.1.1-1.el7.x86_64 8/49
Installing : libXau-1.0.8-2.1.el7.x86_64 9/49
Installing : libxcb-1.11-4.el7.x86_64 10/49
Installing : tomcat-el-2.2-api-7.0.69-11.el7_3.noarch 11/49
Installing : libX11-common-1.6.3-3.el7.noarch 12/49
Installing : libX11-1.6.3-3.el7.x86_64 13/49
Installing : libXext-1.3.3-3.el7.x86_64 14/49
Installing : libXi-1.7.4-2.el7.x86_64 15/49
Installing : libXtst-1.2.2-2.1.el7.x86_64 16/49
Installing : giflib-4.1.6-9.el7.x86_64 17/49
Installing : libXcomposite-0.4.4-4.1.el7.x86_64 18/49
Installing : libXrender-0.9.8-2.1.el7.x86_64 19/49
Updating : 1:java-1.8.0-openjdk-headless-1.8.0.131-3.b12.el7_3.x86_ 20/49
Installing : 1:ecj-4.2.1-8.el7.x86_64 21/49
Installing : ttmkfdir-3.0.9-42.el7.x86_64 22/49
Installing : fontpackages-filesystem-1.44-8.el7.noarch 23/49
Installing : fontconfig-2.10.95-10.el7.x86_64 24/49
Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch 25/49
Installing : 2:libpng-1.5.13-7.el7_2.x86_64 26/49
Installing : 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64 27/49
Installing : apache-commons-pool-1.6-9.el7.noarch 28/49
Installing : xml-commons-apis-1.4.01-16.el7.noarch 29/49
Installing : geronimo-jms-1.1.1-19.el7.noarch 30/49
Installing : apache-commons-collections-3.2.1-22.el7_2.noarch 31/49
Installing : xml-commons-resolver-1.2-15.el7.noarch 32/49
Installing : xalan-j2-2.7.1-23.el7.noarch 33/49
Installing : xerces-j2-2.11.0-17.el7_0.noarch 34/49
Installing : jakarta-taglibs-standard-1.1.2-14.el7_1.noarch 35/49
Installing : apache-commons-daemon-1.0.13-6.el7.x86_64 36/49
Installing : javamail-1.4.6-8.el7.noarch 37/49
Installing : log4j-1.2.17-15.el7.noarch 38/49
Installing : avalon-logkit-2.1-14.el7.noarch 39/49
Installing : avalon-framework-4.3-10.el7.noarch 40/49
Installing : apache-commons-logging-1.1.2-7.el7.noarch 41/49
Installing : geronimo-jta-1.1.1-17.el7.noarch 42/49
Installing : apache-commons-dbcp-1.4-17.el7.noarch 43/49
Installing : tomcat-lib-7.0.69-11.el7_3.noarch 44/49
Installing : tomcat-7.0.69-11.el7_3.noarch 45/49
Installing : tomcat-webapps-7.0.69-11.el7_3.noarch 46/49
Installing : tomcat-admin-webapps-7.0.69-11.el7_3.noarch 47/49
Installing : wget-1.14-13.el7.x86_64 48/49
install-info: No such file or directory for /usr/share/info/wget.info.gz
Cleanup : 1:java-1.8.0-openjdk-headless-1.8.0.131-2.b11.el7_3.x86_ 49/49
Verifying : libXext-1.3.3-3.el7.x86_64 1/49
Verifying : tomcat-servlet-3.0-api-7.0.69-11.el7_3.noarch 2/49
Verifying : giflib-4.1.6-9.el7.x86_64 3/49
Verifying : avalon-logkit-2.1-14.el7.noarch 4/49
Verifying : libXtst-1.2.2-2.1.el7.x86_64 5/49
Verifying : apache-commons-daemon-1.0.13-6.el7.x86_64 6/49
Verifying : libX11-1.6.3-3.el7.x86_64 7/49
Verifying : javamail-1.4.6-8.el7.noarch 8/49
Verifying : tomcat-7.0.69-11.el7_3.noarch 9/49
Verifying : 2:libpng-1.5.13-7.el7_2.x86_64 10/49
Verifying : xml-commons-resolver-1.2-15.el7.noarch 11/49
Verifying : fontpackages-filesystem-1.44-8.el7.noarch 12/49
Verifying : ttmkfdir-3.0.9-42.el7.x86_64 13/49
Verifying : xml-commons-apis-1.4.01-16.el7.noarch 14/49
Verifying : 1:ecj-4.2.1-8.el7.x86_64 15/49
Verifying : 1:java-1.8.0-openjdk-headless-1.8.0.131-3.b12.el7_3.x86_ 16/49
Verifying : libX11-common-1.6.3-3.el7.noarch 17/49
Verifying : libXcomposite-0.4.4-4.1.el7.x86_64 18/49
Verifying : jakarta-taglibs-standard-1.1.2-14.el7_1.noarch 19/49
Verifying : wget-1.14-13.el7.x86_64 20/49
Verifying : xorg-x11-fonts-Type1-7.5-9.el7.noarch 21/49
Verifying : tomcat-jsp-2.2-api-7.0.69-11.el7_3.noarch 22/49
Verifying : xerces-j2-2.11.0-17.el7_0.noarch 23/49
Verifying : log4j-1.2.17-15.el7.noarch 24/49
Verifying : libXrender-0.9.8-2.1.el7.x86_64 25/49
Verifying : geronimo-jms-1.1.1-19.el7.noarch 26/49
Verifying : tomcat-webapps-7.0.69-11.el7_3.noarch 27/49
Verifying : libfontenc-1.1.2-3.el7.x86_64 28/49
Verifying : tomcat-el-2.2-api-7.0.69-11.el7_3.noarch 29/49
Verifying : libXfont-1.5.1-2.el7.x86_64 30/49
Verifying : apache-commons-dbcp-1.4-17.el7.noarch 31/49
Verifying : libICE-1.0.9-2.el7.x86_64 32/49
Verifying : xalan-j2-2.7.1-23.el7.noarch 33/49
Verifying : fontconfig-2.10.95-10.el7.x86_64 34/49
Verifying : apache-commons-collections-3.2.1-22.el7_2.noarch 35/49
Verifying : 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64 36/49
Verifying : apache-commons-logging-1.1.2-7.el7.noarch 37/49
Verifying : libXi-1.7.4-2.el7.x86_64 38/49
Verifying : tomcat-lib-7.0.69-11.el7_3.noarch 39/49
Verifying : libXau-1.0.8-2.1.el7.x86_64 40/49
Verifying : libSM-1.2.2-2.el7.x86_64 41/49
Verifying : apache-commons-pool-1.6-9.el7.noarch 42/49
Verifying : tomcat-admin-webapps-7.0.69-11.el7_3.noarch 43/49
Verifying : geronimo-jta-1.1.1-17.el7.noarch 44/49
Verifying : alsa-lib-1.1.1-1.el7.x86_64 45/49
Verifying : 1:xorg-x11-font-utils-7.5-20.el7.x86_64 46/49
Verifying : avalon-framework-4.3-10.el7.noarch 47/49
Verifying : libxcb-1.11-4.el7.x86_64 48/49
Verifying : 1:java-1.8.0-openjdk-headless-1.8.0.131-2.b11.el7_3.x86_ 49/49
Installed:
tomcat.noarch 0:7.0.69-11.el7_3
tomcat-admin-webapps.noarch 0:7.0.69-11.el7_3
tomcat-webapps.noarch 0:7.0.69-11.el7_3
wget.x86_64 0:1.14-13.el7
Dependency Installed:
alsa-lib.x86_64 0:1.1.1-1.el7
apache-commons-collections.noarch 0:3.2.1-22.el7_2
apache-commons-daemon.x86_64 0:1.0.13-6.el7
apache-commons-dbcp.noarch 0:1.4-17.el7
apache-commons-logging.noarch 0:1.1.2-7.el7
apache-commons-pool.noarch 0:1.6-9.el7
avalon-framework.noarch 0:4.3-10.el7
avalon-logkit.noarch 0:2.1-14.el7
ecj.x86_64 1:4.2.1-8.el7
fontconfig.x86_64 0:2.10.95-10.el7
fontpackages-filesystem.noarch 0:1.44-8.el7
geronimo-jms.noarch 0:1.1.1-19.el7
geronimo-jta.noarch 0:1.1.1-17.el7
giflib.x86_64 0:4.1.6-9.el7
jakarta-taglibs-standard.noarch 0:1.1.2-14.el7_1
java-1.8.0-openjdk.x86_64 1:1.8.0.131-3.b12.el7_3
javamail.noarch 0:1.4.6-8.el7
libICE.x86_64 0:1.0.9-2.el7
libSM.x86_64 0:1.2.2-2.el7
libX11.x86_64 0:1.6.3-3.el7
libX11-common.noarch 0:1.6.3-3.el7
libXau.x86_64 0:1.0.8-2.1.el7
libXcomposite.x86_64 0:0.4.4-4.1.el7
libXext.x86_64 0:1.3.3-3.el7
libXfont.x86_64 0:1.5.1-2.el7
libXi.x86_64 0:1.7.4-2.el7
libXrender.x86_64 0:0.9.8-2.1.el7
libXtst.x86_64 0:1.2.2-2.1.el7
libfontenc.x86_64 0:1.1.2-3.el7
libpng.x86_64 2:1.5.13-7.el7_2
libxcb.x86_64 0:1.11-4.el7
log4j.noarch 0:1.2.17-15.el7
tomcat-el-2.2-api.noarch 0:7.0.69-11.el7_3
tomcat-jsp-2.2-api.noarch 0:7.0.69-11.el7_3
tomcat-lib.noarch 0:7.0.69-11.el7_3
tomcat-servlet-3.0-api.noarch 0:7.0.69-11.el7_3
ttmkfdir.x86_64 0:3.0.9-42.el7
xalan-j2.noarch 0:2.7.1-23.el7
xerces-j2.noarch 0:2.11.0-17.el7_0
xml-commons-apis.noarch 0:1.4.01-16.el7
xml-commons-resolver.noarch 0:1.2-15.el7
xorg-x11-font-utils.x86_64 1:7.5-20.el7
xorg-x11-fonts-Type1.noarch 0:7.5-9.el7
Dependency Updated:
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.131-3.b12.el7_3
Complete!
---> ea3ec4522793
Removing intermediate container 70bc594fbfcf
Step 4 : RUN systemctl enable tomcat
---> Running in 39ce3144e23c
[91mCreated symlink /etc/systemd/system/multi-user.target.wants/tomcat.service, pointing to /usr/lib/systemd/system/tomcat.service.
[0m ---> e9727e37e4c3
Removing intermediate container 39ce3144e23c
Step 5 : RUN cd /usr/share/tomcat/webapps && wget https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war
---> Running in e16ba25ff7be
[91m--2017-05-26 08:48:51-- https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war
[0m[91mResolving tomcat.apache.org (tomcat.apache.org)... [0m[91m88.198.26.2, 140.211.11.105, 2a01:4f8:130:2192::2
Connecting to tomcat.apache.org (tomcat.apache.org)|88.198.26.2|:443... [0m[91mconnected.
[0m[91mHTTP request sent, awaiting response... [0m[91m200 OK
Length: 4606 (4.5K)
[0m[91mSaving to: 'sample.war'
0K .... 100% 160M=0s
2017-05-26 08:48:57 (160 MB/s) - 'sample.war' saved [4606/4606]
[0m ---> fe9306bd263d
Removing intermediate container e16ba25ff7be
Step 6 : EXPOSE 8080
---> Running in de402a536a48
---> b4d87199e57e
Removing intermediate container de402a536a48
Step 7 : CMD /usr/sbin/init
---> Running in 7bef22f02dd1
---> 3eae7b04dd10
Removing intermediate container 7bef22f02dd1
Successfully built 3eae7b04dd10
[MyTomcat Pipeline] $ docker tag 3eae7b04dd10 172.17.0.2:5000/mytomcat:latest
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
[MyTomcat Pipeline] $ docker inspect 3eae7b04dd10
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
[MyTomcat Pipeline] $ docker push 172.17.0.2:5000/mytomcat:jenkins
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
The push refers to a repository [172.17.0.2:5000/mytomcat]
0645d4f02141: Preparing
666b88394449: Preparing
76c4ad389070: Preparing
c186afe9b64b: Preparing
808638c53536: Preparing
c8391c1195c6: Preparing
b51149973e6a: Preparing
c8391c1195c6: Waiting
b51149973e6a: Waiting
c186afe9b64b: Layer already exists
808638c53536: Layer already exists
c8391c1195c6: Layer already exists
b51149973e6a: Layer already exists
666b88394449: Pushed
0645d4f02141: Pushed
76c4ad389070: Pushed
jenkins: digest: sha256:778cd1548e7e36b8d51077ff9cc7f0b5c115d7a8d68ba2ee7b7dffce20dfea90 size: 1788
[MyTomcat Pipeline] $ docker push 172.17.0.2:5000/mytomcat:latest
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
The push refers to a repository [172.17.0.2:5000/mytomcat]
0645d4f02141: Preparing
666b88394449: Preparing
76c4ad389070: Preparing
c186afe9b64b: Preparing
808638c53536: Preparing
c8391c1195c6: Preparing
b51149973e6a: Preparing
c8391c1195c6: Waiting
b51149973e6a: Waiting
666b88394449: Layer already exists
808638c53536: Layer already exists
76c4ad389070: Layer already exists
0645d4f02141: Layer already exists
c186afe9b64b: Layer already exists
b51149973e6a: Layer already exists
c8391c1195c6: Layer already exists
latest: digest: sha256:778cd1548e7e36b8d51077ff9cc7f0b5c115d7a8d68ba2ee7b7dffce20dfea90 size: 1788
Finished: SUCCESS