Дженкинс с Tomcat 7.x и Maven не развертывает удаленный - PullRequest
0 голосов
/ 03 сентября 2018

Вот ошибка:

ОШИБКА: издатель hudson.plugins.deploy.DeployPublisher прерван из-за исключения org.codehaus.cargo.container.ContainerException: не удалось повторно развернуть [C: \ Users \ Administrator.jenkins \ jobs ... [ПУТЬ ВОЙНЫ] в org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy (AbstractTomcatManagerDeployer.java:193) в hudson.plugins.deploy.CargoContainerAdapter.deploy (CargoContainerAdapter.java:73) в hudson.plugins.deploy.CargoContainerAdapter $ 1.invoke (CargoContainerAdapter.java:116) в hudson.plugins.deploy.CargoContainerAdapter $ 1.invoke (CargoContainerAdapter.java:103) в hudson.FilePath.act (FilePath.java:914) в hudson.FilePath.act (FilePath.java:887) в hudson.plugins.deploy.CargoContainerAdapter.redeploy (CargoContainerAdapter.java:103) в hudson.plugins.deploy.DeployPublisher.perform (DeployPublisher.java:61) в hudson.tasks.BuildStepMonitor $ 3.perform (BuildStepMonitor.java:45) в hudson.model.AbstractBuild $ AbstractBuildExecution.perform (AbstractBuild.java:785) at hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps (AbstractBuild.java:757) в hudson.maven.MavenModuleSetBuild $ MavenModuleSetBuildExecution.post2 (MavenModuleSetBuild.java:1030) at hudson.model.AbstractBuild $ AbstractBuildExecution.post (AbstractBuild.java:706) в hudson.model.Run.execute (Run.java:1703) в hudson.maven.MavenModuleSetBuild.run (MavenModuleSetBuild.java:519) в hudson.model.ResourceController.execute (ResourceController.java:88) at hudson.model.Executor.run (Executor.java:231) Вызвано: java.net.ConnectException: соединение отказано: соединение в java.net.DualStackPlainSocketImpl.connect0 (собственный метод) в java.net.DualStackPlainSocketImpl.socketConnect (DualStackPlainSocketImpl.java:79) на java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:339) на java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:200) в java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:182) в java.net.PlainSocketImpl.connect (PlainSocketImpl.java:172) в java.net.SocksSocketImpl.connect (SocksSocketImpl.java:392) на java.net.Socket.connect (Socket.java:579) на java.net.Socket.connect (Socket.java:528) на sun.net.NetworkClient.doConnect (NetworkClient.java:180) на sun.net.www.http.HttpClient.openServer (HttpClient.java:432) на sun.net.www.http.HttpClient.openServer (HttpClient.java:527) на sun.net.www.http.HttpClient. (HttpClient.java:211) на sun.net.www.http.HttpClient.New (HttpClient.java:308) на sun.net.www.http.HttpClient.New (HttpClient.java:326) на sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient (HttpURLConnection.java:997) на sun.net.www.protocol.http.HttpURLConnection.plainConnect (HttpURLConnection.java:933) на sun.net.www.protocol.http.HttpURLConnection.connect (HttpURLConnection.java:851) в org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke (TomcatManager.java:534) в org.codehaus.cargo.container.tomcat.internal.TomcatManager.list (TomcatManager.java:686) в org.codehaus.cargo.container.tomcat.internal.TomcatManager.getStatus (TomcatManager.java:699) в org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy (AbstractTomcatManagerDeployer.java:174) ... еще 16 java.net.ConnectException: соединение отказано: подключиться в java.net.DualStackPlainSocketImpl.connect0 (собственный метод) в java.net.DualStackPlainSocketImpl.socketConnect (DualStackPlainSocketImpl.java:79) на java.net.AbstractPlainSocketImpl.doConnect (AbstractPlainSocketImpl.java:339) на java.net.AbstractPlainSocketImpl.connectToAddress (AbstractPlainSocketImpl.java:200)в java.net.AbstractPlainSocketImpl.connect (AbstractPlainSocketImpl.java:182) в java.net.PlainSocketImpl.connect (PlainSocketImpl.java:172) в java.net.SocksSocketImpl.connect (SocksSocketImpl.java:392) на java.net.Socket.connect (Socket.java:579) на java.net.Socket.connect (Socket.java:528) на sun.net.NetworkClient.doConnect (NetworkClient.java:180) на sun.net.www.http.HttpClient.openServer (HttpClient.java:432) на sun.net.www.http.HttpClient.openServer (HttpClient.java:527) на sun.net.www.http.HttpClient. (HttpClient.java:211) на sun.net.www.http.HttpClient.New (HttpClient.java:308) на sun.net.www.http.HttpClient.New (HttpClient.java:326) на sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient (HttpURLConnection.java:997) на sun.net.www.protocol.http.HttpURLConnection.plainConnect (HttpURLConnection.java:933) на sun.net.www.protocol.http.HttpURLConnection.connect (HttpURLConnection.java:851) в org.codehaus.cargo.container.tomcat.internal.TomcatManager.invoke (TomcatManager.java:534) в org.codehaus.cargo.container.tomcat.internal.TomcatManager.list (TomcatManager.java:686) в org.codehaus.cargo.container.tomcat.internal.TomcatManager.getStatus (TomcatManager.java:699) в org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy (AbstractTomcatManagerDeployer.java:174) в hudson.plugins.deploy.CargoContainerAdapter.deploy (CargoContainerAdapter.java:73) в hudson.plugins.deploy.CargoContainerAdapter $ 1.invoke (CargoContainerAdapter.java:116) в hudson.plugins.deploy.CargoContainerAdapter $ 1.invoke (CargoContainerAdapter.java:103) в hudson.FilePath.act (FilePath.java:914) в hudson.FilePath.act (FilePath.java:887) в hudson.plugins.deploy.CargoContainerAdapter.redeploy (CargoContainerAdapter.java:103) в hudson.plugins.deploy.DeployPublisher.perform (DeployPublisher.java:61) в hudson.tasks.BuildStepMonitor $ 3.perform (BuildStepMonitor.java:45) в hudson.model.AbstractBuild $ AbstractBuildExecution.perform (AbstractBuild.java:785) at hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps (AbstractBuild.java:757) в hudson.maven.MavenModuleSetBuild $ MavenModuleSetBuildExecution.post2 (MavenModuleSetBuild.java:1030) at hudson.model.AbstractBuild $ AbstractBuildExecution.post (AbstractBuild.java:706) в hudson.model.Run.execute (Run.java:1703) в hudson.maven.MavenModuleSetBuild.run (MavenModuleSetBuild.java:519) в hudson.model.ResourceController.execute (ResourceController.java:88) at hudson.model.Executor.run (Executor.java:231) Закончено: ОТКАЗ

...