Getting error in AWSEB Deployment Plugin Version 0.3.15

466 views
Skip to first unread message

Amrish Jain

unread,
Jan 20, 2017, 5:56:36 PM1/20/17
to Jenkins Developers
Please find below the console log from Jenkins. Any help would be appreciated. UsingĀ AWSEB Deployment Plugin Version 0.3.15.

I am getting below error when trying to deploy my war file from Jenkins to Elastic beanstalk.





In the plugin 




====== Console Log from Jenkins ======

[JENKINS] Archiving /opt/mycompany/JENKINS/Workspace/jobs/Prod-AWS-Deploy/workspace/pom.xml to LearnAWS/LearnAWS/0.0.1-SNAPSHOT/LearnAWS-0.0.1-SNAPSHOT.pom
[JENKINS] Archiving /opt/mycompany/JENKINS/Workspace/jobs/Prod-AWS-Deploy/workspace/target/LearnAWS-0.0.1-SNAPSHOT.war to LearnAWS/LearnAWS/0.0.1-SNAPSHOT/LearnAWS-0.0.1-SNAPSHOT.war
channel stopped [workspace] $ /bin/bash /opt/mycompany/JENKINS/temp/hudson4156181522126912314.sh
War copied successfully !!! Archive: LearnAWS-0.0.1-SNAPSHOT.war creating: META-INF/ inflating: META-INF/MANIFEST.MF creating: WEB-INF/ creating: WEB-INF/classes/ inflating: WEB-INF/web.xml inflating: index.jsp inflating: META-INF/maven/LearnAWS/LearnAWS/pom.xml inflating: META-INF/maven/LearnAWS/LearnAWS/pom.properties AWSEB Deployment Plugin Version 0.3.15 ERROR: Failed to parse POMs java.io.IOException: Deployment Failure at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:188) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:915) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:866) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Root Object doesn't exist at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at hudson.remoting.LocalChannel$2.get(LocalChannel.java:77) at br.com.ingenieux.jenkins.plugins.awsebdeployment.DeployerRunner.perform(DeployerRunner.java:66) at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:184) ... 9 more Caused by: java.lang.IllegalArgumentException: Root Object doesn't exist at org.apache.commons.lang.Validate.isTrue(Validate.java:136) at br.com.ingenieux.jenkins.plugins.awsebdeployment.cmd.DeployerCommand$ValidateParameters.perform(DeployerCommand.java:124) at br.com.ingenieux.jenkins.plugins.awsebdeployment.cmd.DeployerChain.perform(DeployerChain.java:54) at br.com.ingenieux.jenkins.plugins.awsebdeployment.SlaveDeployerCallable.call(SlaveDeployerCallable.java:42) at br.com.ingenieux.jenkins.plugins.awsebdeployment.SlaveDeployerCallable.call(SlaveDeployerCallable.java:27) at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Finished: FAILURE

Aldrin Leal

unread,
Jan 20, 2017, 6:03:53 PM1/20/17
to jenkin...@googlegroups.com
This means the value of ROOT Object (the path of the artifact to upload) wasn't found.

Check your workspace files, and if this doesn't make sense, file an issue on github.com/ingenieux/awseb-deployment-plugin/issues

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/fd7c3c27-6f6c-4d9e-ae4d-e0442042f1bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Amrish Jain

unread,
Jan 22, 2017, 2:37:28 AM1/22/17
to Jenkins Developers
Thanks for the reply. My war is present in the Jenkins. I'll be raising a bug for this.


To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.

Aldrin Leal

unread,
Jan 22, 2017, 1:12:33 PM1/22/17
to jenkin...@googlegroups.com
root does not expand wildcards. Click on the "?" icon on your right to understand how it works.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/33afd21c-323b-4545-820b-e23fb72e65a2%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages