Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Attachments: D52AD71C-7426-4A5F-AACD-E787448209DC.png
Components: ant
Created: 06/Mar/14 7:40 AM
Description:

i think my configure.xml is correct

<config xmlns="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://org.jenkinsci.plugins/WeblogicDeploymentPlugin plugin-configuration.xsd">
<weblogic-targets>
<weblogic-target>
<name>AdminServer</name>
<host>ip</host>
<port>8080</port>
<login>weblogic</login>
<password>weblogic</password>
<authMode>BY_LOGIN</authMode>
</weblogic-target>
</weblogic-targets>
</config>

the job's configure like photo
when i excute the job,it builded failed,
the console message following:

15:15:41 [WeblogicDeploymentPlugin] - the following file recorded ICPlatform.war is eligible.
15:15:41 [WeblogicDeploymentPlugin] - Deploying the artifact on the following target : (name=AdminServer) (host=10.100.31.65) (port=8080)
15:15:41 java.lang.NoSuchMethodError: hudson.EnvVars.get(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
15:15:41 at org.jenkinsci.plugins.deploy.weblogic.util.ParameterValueResolver.resolveEnvVar(ParameterValueResolver.java:33)
15:15:41 at org.jenkinsci.plugins.deploy.weblogic.deployer.WebLogicDeployer.getWebLogicCommandLine(WebLogicDeployer.java:75)
15:15:41 at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.undeploy(DeploymentTaskServiceImpl.java:281)
15:15:41 at org.jenkinsci.plugins.deploy.weblogic.task.DeploymentTaskServiceImpl.perform(DeploymentTaskServiceImpl.java:181)
15:15:41 at org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin.perform(WeblogicDeploymentPlugin.java:236)
15:15:41 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
15:15:41 at hudson.model.Build$BuildExecution.post2(Build.java:183)
15:15:41 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
15:15:41 at hudson.model.Run.execute(Run.java:1513)
15:15:41 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
15:15:41 at hudson.model.ResourceController.execute(ResourceController.java:88)
15:15:41 at hudson.model.Executor.run(Executor.java:236)
15:15:41 ERROR: [WeblogicDeploymentPlugin] - Failed to deploy.

Due Date: 06/Mar/14 12:00 AM
Environment: weblogic-plugin2.9.1,jenkins(1.4.7),jdk1.6,linux,ant1.8
Project: Jenkins
Priority: Major Major
Reporter: janice zhang
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to