-
Bug
-
Resolution: Fixed
-
Blocker
-
None
It seems like the log file stream is closed a bit too early (before calling the
deploy() method which then uses that stream). As a result, my deployment log file is empty
and Jenkins prints the following stacktrace:
11:07:04 java.io.IOException: Stream Closed
11:07:04 at java.io.FileOutputStream.writeBytes(Native Method)
11:07:04 at java.io.FileOutputStream.write(FileOutputStream.java:325)
11:07:04 at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.undeploy(DeploymentTaskServiceImpl.java:284)
11:07:04 at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:182)
11:07:04 at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:236)
11:07:04 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
11:07:04 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
11:07:04 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
11:07:04 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1020)
11:07:04 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
11:07:04 at hudson.model.Run.execute(Run.java:1702)
11:07:04 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:509)
11:07:04 at hudson.model.ResourceController.execute(ResourceController.java:88)
11:07:04 at hudson.model.Executor.run(Executor.java:231)
11:07:04 ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.