Hi team
We are using Bamboo Cloud , we are new with Bamboo, we created a new Plan with a simple Job/task "Checkout Default Repository" and "Maven3- clean install"
The logs of Bamboo said
27-Aug-2015 23:43:28 | [INFO] ------------------------------------------------------------------------ |
27-Aug-2015 23:43:28 | [INFO] BUILD SUCCESS |
27-Aug-2015 23:43:28 | [INFO] ------------------------------------------------------------------------ |
but the Status of the build is Failed and we get a red email
The job generated some errors, drill down into the full build log for more details.
Could you help us ? What we are doing wrong
Thanks
Francisco
I am also getting the same error. Is there any update for this?
Asrith, were you able to resolve this ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nathan
If We Start "Windows stock image" the build is working but if We Start the "Ubuntu stock image" we got this error
error 28-Aug-2015 07:28:42 Caused by: java.lang.IllegalArgumentException: The working directory must exist before executing the process error 28-Aug-2015 07:28:42 at org.apache.commons.lang.Validate.isTrue(Validate.java:136) e
Do you think is related with "Git Cache directory configuration" ?
Thanks
Francisco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Francisco Montada, did you ever get to the bottom of this issue? I am using bamboo and trying to run an NPM command and getting the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nathan
Thanks a lot to reply
Yes I did check it and I do not have any test in my code , that why was failing
But now I am getting this error with the same Job that was SUCCESS before
error 28-Aug-2015 07:28:42 Caused by: java.lang.IllegalArgumentException: The working directory must exist before executing the process error 28-Aug-2015 07:28:42 at org.apache.commons.lang.Validate.isTrue(Validate.java:136) e
42 Error occurred while running Task 'build(2)' of type com.atlassian.bamboo.plugins.maven:task.builder.mvn3. error 28-Aug-2015 07:28:42 com.atlassian.bamboo.task.TaskException: Failed to execute task error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.plugins.maven.task.Maven3BuildTask.execute(Maven3BuildTask.java:114) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:288) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:284) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:200) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:284) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:106) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:124) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:115) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:114) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 28-Aug-2015 07:28:42 at java.lang.Thread.run(Thread.java:745) error 28-Aug-2015 07:28:42 Caused by: java.lang.IllegalArgumentException: The working directory must exist before executing the process error 28-Aug-2015 07:28:42 at org.apache.commons.lang.Validate.isTrue(Validate.java:136) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.process.ProcessServiceImpl.createExternalProcess(ProcessServiceImpl.java:166) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.process.ProcessServiceImpl.executeExternalProcess(ProcessServiceImpl.java:213) error 28-Aug-2015 07:28:42 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) error 28-Aug-2015 07:28:42 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) error 28-Aug-2015 07:28:42 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) error 28-Aug-2015 07:28:42 at java.lang.reflect.Method.invoke(Method.java:497) error 28-Aug-2015 07:28:42 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134) error 28-Aug-2015 07:28:42 at com.sun.proxy.$Proxy70.executeExternalProcess(Unknown Source) error 28-Aug-2015 07:28:42 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) error 28-Aug-2015 07:28:42 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) error 28-Aug-2015 07:28:42 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) error 28-Aug-2015 07:28:42 at java.lang.reflect.Method.invoke(Method.java:497) error 28-Aug-2015 07:28:42 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) error 28-Aug-2015 07:28:42 at com.sun.proxy.$Proxy70.executeExternalProcess(Unknown Source) error 28-Aug-2015 07:28:42 at com.atlassian.bamboo.plugins.maven.task.Maven3BuildTask.execute(Maven3BuildTask.java:76) error 28-Aug-2015 07:28:42 ... 17 more
could you help us ?
Thanks again
Francisco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Francisco,
When you set-up the maven 3 task did you also select the option "The build will produce test results"?
image2015-8-28 17:0:56.png
If so, this task when complete will look in the directory specified to contain test results.
Now as your build is successful, and if you are not generating any tests results, than with this setting enabled it will treat the lack of test results as a build error.
For more information on configuring the maven task please look at the following documentation.
https://confluence.atlassian.com/bamboo/maven-289277038.html
Regards,
Nathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.