-
Bug
-
Resolution: Unresolved
-
Minor
Everything went fine until having updated `docker-build-step-plugin`. After that, my job dumps me the message I dump bellow.
I've took a look on `Global Cofiguration Tool` and I've realized my old Docker configuration has benn removed and appears another empty one which is nothing to do with the older one.
I don't quite to difure out how to configure Docker again
[Docker] INFO: Creating docker image from /var/lib/jenkins/workspace/Create WebAPI Docker Image/webapi/QA 09:10:57 ERROR: Build step failed with exception 09:10:57 java.lang.RuntimeException: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to 172.17.0.1:4243 [/172.17.0.1] failed: Connection refused 09:10:57 at org.jenkinsci.plugins.dockerbuildstep.cmd.CreateImageCommand.execute(CreateImageCommand.java:139) 09:10:57 at org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.perform(DockerBuilder.java:75) 09:10:57 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 09:10:57 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) 09:10:57 at hudson.model.Build$BuildExecution.build(Build.java:205) 09:10:57 at hudson.model.Build$BuildExecution.doRun(Build.java:162) 09:10:57 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 09:10:57 at hudson.model.Run.execute(Run.java:1720) 09:10:57 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 09:10:57 at hudson.model.ResourceController.execute(ResourceController.java:98) 09:10:57 at hudson.model.Executor.run(Executor.java:404) 09:10:57 Caused by: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to 172.17.0.1:4243 [/172.17.0.1] failed: Connection refused 09:10:57 at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:513) 09:10:57 at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246) 09:10:57 at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683) 09:10:57 at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 09:10:57 at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 09:10:57 at org.glassfish.jersey.internal.Errors.process(Errors.java:228) 09:10:57 at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) 09:10:57 at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679) 09:10:57 at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:435) 09:10:57 at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:338) 09:10:57 at com.github.dockerjava.jaxrs.BuildImageCmdExec.execute(BuildImageCmdExec.java:71) 09:10:57 at com.github.dockerjava.jaxrs.BuildImageCmdExec.execute(BuildImageCmdExec.java:27) 09:10:57 at com.github.dockerjava.jaxrs.AbstrDockerCmdExec.exec(AbstrDockerCmdExec.java:57) 09:10:57 at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:29) 09:10:57 at org.jenkinsci.plugins.dockerbuildstep.cmd.CreateImageCommand.execute(CreateImageCommand.java:110) 09:10:57 ... 10 more 09:10:57 Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 172.17.0.1:4243 [/172.17.0.1] failed: Connection refused 09:10:57 at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:142) 09:10:57 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319) 09:10:57 at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363) 09:10:57 at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219) 09:10:57 at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) 09:10:57 at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86) 09:10:57 at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) 09:10:57 at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) 09:10:57 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) 09:10:57 at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:465) 09:10:57 ... 24 more 09:10:57 Caused by: java.net.ConnectException: Connection refused 09:10:57 at java.net.PlainSocketImpl.socketConnect(Native Method) 09:10:57 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) 09:10:57 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) 09:10:57 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) 09:10:57 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 09:10:57 at java.net.Socket.connect(Socket.java:589) 09:10:57 at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72) 09:10:57 at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125) 09:10:57 ... 33 more 09:10:57 Build step 'Execute Docker command' marked build as failure 09:10:57 Finished: FAILURE