Jenkins Weblogic部署插件失败指向slave时

时间:2017-05-12 09:41:52

标签: jenkins weblogic weblogic12c jenkins-slave

当指向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] ------------------------------------------------------------------------

配置如下: enter image description here

请告诉我们此专业人士的解决方案

0 个答案:

没有答案