0

错误:发布者 hudson.plugins.deploy.DeployPublisher 由于异常 org.codehaus.cargo.util.CargoException 而中止:部署调用在 org.codehaus.cargo.container.glassfish.GlassFish2xInstalledLocalDeployer.doDeploy(GlassFish2xInstalledLocalDeployer.java:79 返回 1 ) at org.codehaus.cargo.container.glassfish.internal.AbstractGlassFishInstalledLocalDeployer.redeploy(AbstractGlassFishInstalledLocalDeployer.java:97) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:64) at hudson.plugins.deploy.CargoContainerAdapter$1 .invoke(CargoContainerAdapter.java:93) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:77) at hudson.FilePath.act(FilePath.java:793) at hudson.FilePath.act(FilePath.java :775) 在 hudson.plugins.deploy.CargoContainerAdapter。在 hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:47) 在 hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:51) 在 hudson.model.AbstractBuild$AbstractRunner 重新部署(CargoContainerAdapter.java:77)。 perform(AbstractBuild.java:735) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:713) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:689) at hudson.model.Build$RunnerImpl .post2(Build.java:163) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:655) at hudson.model.Run.run(Run.java:1458) at hudson.model.FreeStyleBuild.run( FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run(Executor.java:137) Finished: FAILURE失败失败77) 在 hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:47) 在 hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:51) 在 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java: 735) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:713) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:689) at hudson.model.Build$RunnerImpl.post2(Build.java :163) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:655) at hudson.model.Run.run(Run.java:1458) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)在 hudson.model.ResourceController.execute(ResourceController.java:82) 在 hudson.model.Executor.run(Executor.java:137) 完成:失败77) 在 hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:47) 在 hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:51) 在 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java: 735) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:713) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:689) at hudson.model.Build$RunnerImpl.post2(Build.java :163) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:655) at hudson.model.Run.run(Run.java:1458) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)在 hudson.model.ResourceController.execute(ResourceController.java:82) 在 hudson.model.Executor.run(Executor.java:137) 完成:失败在 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:735) 在 hudson.model.AbstractBuild$AbstractRunner 的 hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:51) 执行(DeployPublisher.java:47)。 performAllBuildSteps(AbstractBuild.java:713) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:689) at hudson.model.Build$RunnerImpl.post2(Build.java:163) at hudson.model.AbstractBuild$AbstractRunner .post(AbstractBuild.java:655) at hudson.model.Run.run(Run.java:1458) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController. java:82) 在 hudson.model.Executor.run(Executor.java:137) 完成:失败在 hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:735) 在 hudson.model.AbstractBuild$AbstractRunner 的 hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:51) 执行(DeployPublisher.java:47)。 performAllBuildSteps(AbstractBuild.java:713) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:689) at hudson.model.Build$RunnerImpl.post2(Build.java:163) at hudson.model.AbstractBuild$AbstractRunner .post(AbstractBuild.java:655) at hudson.model.Run.run(Run.java:1458) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController. java:82) 在 hudson.model.Executor.run(Executor.java:137) 完成:失败51) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:735) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:713) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java :689) at hudson.model.Build$RunnerImpl.post2(Build.java:163) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:655) at hudson.model.Run.run(Run.java: 1458) 在 hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) 在 hudson.model.ResourceController.execute(ResourceController.java:82) 在 hudson.model.Executor.run(Executor.java:137) 完成:失败51) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:735) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:713) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java :689) at hudson.model.Build$RunnerImpl.post2(Build.java:163) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:655) at hudson.model.Run.run(Run.java: 1458) 在 hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) 在 hudson.model.ResourceController.execute(ResourceController.java:82) 在 hudson.model.Executor.run(Executor.java:137) 完成:失败AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:689) at hudson.model.Build$RunnerImpl.post2(Build.java:163) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:655) at hudson.model .Run.run(Run.java:1458) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run( Executor.java:137) 完成:失败AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:689) at hudson.model.Build$RunnerImpl.post2(Build.java:163) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:655) at hudson.model .Run.run(Run.java:1458) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run( Executor.java:137) 完成:失败82) 在 hudson.model.Executor.run(Executor.java:137) 完成:失败82) 在 hudson.model.Executor.run(Executor.java:137) 完成:失败

4

2 回答 2

0

顺便说一句,glassfish 记录一下这样的时刻只是说:

[#|2015-02-27T12:16:32.676+0100|INFO|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=21;_ThreadName=httpWorkerThread-4848-1;/var/tmp/s1astempCIserver-1206725054/*.ear;|ADM1006:Uploading the file to:[/var/tmp/s1astempCIserver-1206725054/*.ear]|#]

[#|2015-02-27T12:16:35.165+0100|INFO|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=23;_ThreadName=Thread-2440;|deployed with moduleid = *|#]

所以一切看起来都很好(注意,星号/asterix * 在这里替换了实际名称)但是当查看 glassfish admin gui 之后 => 没有任何改变,所以有些东西没有像上面的日志中提到的那样工作,但似乎没有记录什么实际上分手了。

于 2015-02-27T11:33:39.357 回答
0

部署调用返回 1

为什么调用部署返回 1?

于 2013-10-30T13:03:03.637 回答