Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jenkins war文件未部署在glassfish上_Jenkins - Fatal编程技术网

jenkins war文件未部署在glassfish上

jenkins war文件未部署在glassfish上,jenkins,Jenkins,我正在尝试由jenkins构建一个war文件并将其部署到payara服务器 地位: 建立成功 将war/ear部署到容器失败,但war文件已部署在payara服务器中,并且已禁用 请帮我解决这个问题 控制台日志: ERROR: Build step failed with exception org.codehaus.cargo.util.CargoException: Deployment has failed: null at org.codehaus.cargo.container

我正在尝试由jenkins构建一个war文件并将其部署到payara服务器

地位: 建立成功 将war/ear部署到容器失败,但war文件已部署在payara服务器中,并且已禁用

请帮我解决这个问题

控制台日志:

ERROR: Build step failed with exception
org.codehaus.cargo.util.CargoException: Deployment has failed: null
    at org.codehaus.cargo.container.spi.deployer.AbstractJsr88Deployer.waitForProgressObject(AbstractJsr88Deployer.java:295)
    at org.codehaus.cargo.container.spi.deployer.AbstractJsr88Deployer.deploy(AbstractJsr88Deployer.java:136)
    at org.codehaus.cargo.container.spi.deployer.AbstractJsr88Deployer.redeploy(AbstractJsr88Deployer.java:217)
    at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:77)
    at hudson.plugins.deploy.CargoContainerAdapter$DeployCallable.invoke(CargoContainerAdapter.java:147)
    at hudson.plugins.deploy.CargoContainerAdapter$DeployCallable.invoke(CargoContainerAdapter.java:117)
    at hudson.FilePath.act(FilePath.java:1020)
    at hudson.FilePath.act(FilePath.java:998)
    at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:114)
    at hudson.plugins.deploy.PasswordProtectedAdapterCargo.redeploy(PasswordProtectedAdapterCargo.java:93)
    at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:64)
    at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
    at hudson.model.Build$BuildExecution.post2(Build.java:186)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
    at hudson.model.Run.execute(Run.java:1752)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
Build step 'Deploy war/ear to a container' marked build as failure

尝试从glassfish中删除所有已部署的应用程序,重新启动glasfish并再次运行您的构建。我已经尝试过了,但它不起作用。