当指向 Slave 时,Jenkins Weblogic 部署失败,并出现以下错误。
[WeblogicDeploymentPlugin] - Retrieving artifacts recorded [filtered resources on (.*)VODSHM(.*)\.war]...
[WeblogicDeploymentPlugin] - the base directory specified [/opt/jenkins/workspace/vospcore_vod-shm_daily_deployments/shm-vod-service/target] is invalid (doesn't exists or is not a directory or has insufficient privilege). Please check the job configuration
java.lang.RuntimeException: The base directory specified [/opt/jenkins/workspace/vospcore_vod-shm_daily_deployments/shm-vod-service/target] is invalid (doesn't exists or is not a directory or has insufficient privilege)
at org.jenkinsci.plugins.deploy.weblogic.FreeStyleJobArtifactSelectorImpl.selectArtifactRecorded(FreeStyleJobArtifactSelectorImpl.java:61)
at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:133)
at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:236)
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.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1047)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
at hudson.model.Run.execute(Run.java:1745)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
ERROR: [WeblogicDeploymentPlugin] - Failed to get artifact from archive directory : The base directory specified [/opt/jenkins/workspace/vospcore_vod-shm_daily_deployments/shm-vod-service/target] is invalid (doesn't exists or is not a directory or has insufficient privilege)
[INFO] ------------------------------------------------------------------------
[INFO] DEPLOYMENT FAILURE
[INFO] ------------------------------------------------------------------------
配置如下: 在此处输入图片描述
请让我们知道这个专业人士的解决方案是什么