-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins 2.46.3 Slave (jenkins-slave.war) running in Docker container, Weblogic 12c (12.2.1.2.0) installed with Quick Installer, Oracle JDK 8u131
We're migrating from a master-only Jenkins server to build slaves. When trying to run a deployment to a Weblogic server the plugin fails with
java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
The artifacts have been successfully downloaded into the workspace before.
More details:
[WeblogicDeploymentPlugin] - Pay attention to JDK version {selected version is 1.8.0_131} compatibility with WebLogic Deployer API (see Oracle documentation).
[WeblogicDeploymentPlugin] - The JDK /usr/java/latest will be used.
[WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on my-service.war]...
java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
at org.apache.commons.io.FileUtils.validateListFilesParameters(FileUtils.java:545)
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:521)
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:691)
at org.jenkinsci.plugins.deploy.weblogic.FreeStyleJobArtifactSelectorImpl.selectArtifactRecorded(FreeStyleJobArtifactSelectorImpl.java:46)
at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:129)
at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:304)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
at hudson.model.Run.execute(Run.java:1753)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
ERROR: [WeblogicDeploymentPlugin] - Failed to get artifact from archive directory.
Job configuration:
<org.jenkinsci.plugins.deploy.weblogic.data.DeploymentTask> <id>Oexmq1owvz</id> <weblogicEnvironmentTargetedName>international-wls-dev</weblogicEnvironmentTargetedName> <deploymentName>rest-services-dach</deploymentName> <deploymentTargets>dach</deploymentTargets> <isLibrary>false</isLibrary> <builtResourceRegexToDeploy>my-service.war</builtResourceRegexToDeploy> <baseResourcesGeneratedDirectory></baseResourcesGeneratedDirectory> <taskName>undeploy-rest-services-dach</taskName> <jdk> <name>system</name> <home>/usr/java/latest</home> <properties/> </jdk> <stageMode>bydefault</stageMode> <commandLine>-adminurl t3://{wl.host}:{wl.port} -user {wl.login} -password {wl.password} -debug -remote -verbose -name {wl.deployment_name} -targets {wl.targets} -undeploy;</commandLine> <deploymentPlan></deploymentPlan> <protocol>t3</protocol> </org.jenkinsci.plugins.deploy.weblogic.data.DeploymentTask>
When running on the master, deployment succeeds.
What's wrong?
- mentioned in
-
Page Loading...