Задать вопрос
Ответы пользователя по тегу Развёртывание ПО
  • Jenkins. Weblogic Deployer Plugin. При выполнении задачи деплоя не находит конечный ear?

    daleretto
    @daleretto Автор вопроса
    Добился следующего:
    [WeblogicDeploymentPlugin] — jdk selected: /usr/bin/java
    [WeblogicDeploymentPlugin] — Pay attention of Jdk version {selected version is 1.6.0_32} compatibility with Weblogic Deployer API (see Oracle documentation).
    [WeblogicDeploymentPlugin] — the JDK /etc/alternatives/jdk/ will be used.
    [WeblogicDeploymentPlugin] — ArtifactSelector used: org.jenkinsci.plugins.deploy.weblogic.MavenJobArtifactSelectorImpl@16bb184
    [WeblogicDeploymentPlugin] — Retrieving artifacts recorded [filtered resources on example.ear]…
    [WeblogicDeploymentPlugin] — 3 artifacts recorded in /home/nexus/.jenkins/jobs/test/modules/com.example.war/builds/2013-03-25_13-47-05/archive
    [WeblogicDeploymentPlugin] — the following artifact example.war-1.3-sources.jar doesn't match example.ear-1.3.ear
    [WeblogicDeploymentPlugin] — the following artifact example.war-1.3.pom doesn't match example.ear-1.3.ear
    [WeblogicDeploymentPlugin] — the following artifact example.war-1.3.war doesn't match example.ear-1.3.ear
    [WeblogicDeploymentPlugin] — 2 artifacts recorded in /home/nexus/.jenkins/jobs/test/modules/com.example$example.ear/builds/2013-03-25_13-47-05/archive
    [WeblogicDeploymentPlugin] — the following artifact recorded example.ear-1.3.ear is eligible.
    [WeblogicDeploymentPlugin] — the following artifactexample.ear-1.3.pom doesn't match example.ear-1.3.ear
    [WeblogicDeploymentPlugin] — 1 artifacts recorded in /home/nexus/.jenkins/jobs/test/modules/com.example$example.parent/builds/2013-03-25_13-47-04/archive
    [WeblogicDeploymentPlugin] — the following artifact example.parent-1.3.pom doesn't match example.ear-1.3.ear
    [WeblogicDeploymentPlugin] — Deploying the artifact on the following target: (name=EXAMPLE) (host=foo.bar..com) (port=7001)
    [WeblogicDeploymentPlugin] — UNDEPLOYING ARTIFACT…
    $ /etc/alternatives/jdk/bin/java -Xms512M -Xmx512M -cp /home/nexus/.jenkins/jobs/weblogic.jar weblogic.Deployer -debug -remote -verbose -noexit -name example.ear-1 -targets AdminServ -adminurl t3://foo.bar.com:7001 -user weblogic -password weblogic1 -undeploy
    [WeblogicDeploymentPlugin] — ARTIFACT UNDEPLOYED SUCCESSFULLY.
    [WeblogicDeploymentPlugin] — DEPLOYING ARTIFACT…
    $ /etc/alternatives/jdk/bin/java -Xms512M -Xmx512M -cp /home/nexus/.jenkins/jobs/weblogic.jar weblogic.Deployer -debug -stage -remote -verbose -upload -name example.ear-1 -source "/home/nexus/.jenkins/jobs/test/modules/com.example$example.ear/builds/2013-03-25_13-47-05/archive/com.example$example.ear/1.3/example.ear-1.3.ear" -targets AdminServ -adminurl t3://foo.bar.com:7001 -user weblogic -password weblogic1 -deploy
    ERROR: [WeblogicDeploymentPlugin] — Command /etc/alternatives/jdk/bin/java|-Xms512M|-Xmx512M|-cp|/home/nexus/.jenkins/jobs/weblogic.jar|weblogic.Deployer|-debug|-stage|-remote|-verbose|-upload|-name|example.ear-1|-source|/home/nexus/.jenkins/jobs/test/modules/com.example$example.ear/builds/2013-03-25_13-47-05/archive/com.example/example.ear/1.3/example.ear-1.3.ear|-targets|AdminServ|-adminurl|t3://foo.bar.com:7001|-user|weblogic|-password|weblogic1|-deploy completed abnormally (exit code = 1)
    java.lang.RuntimeException: Command /etc/alternatives/jdk/bin/java|-Xms512M|-Xmx512M|-cp|/home/nexus/.jenkins/jobs/weblogic.jar|weblogic.Deployer|-debug|-stage|-remote|-verbose|-upload|-name|example.ear-1|-source|/home/nexus/.jenkins/jobs/test/modules/com.example$example.ear/builds/2013-03-25_13-47-05/archive/com.example/example.ear/1.3/example.ear-1.3.ear|-targets|AdminServ|-adminurl|t3://foo.bar.com:7001|-user|weblogic|-password|weblogic1|-deploy completed abnormally (exit code = 1)
    at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:164)
    at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:220)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:820)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:792)
    at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:947)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:739)
    at hudson.model.Run.execute(Run.java:1592)
    at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:237)
    ERROR: [WeblogicDeploymentPlugin] — Failed to deploy.
    [INFO] — [INFO] DEPLOYMENT SUCCESS
    [INFO] — Finished: SUCCESS
    Ответ написан