You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Error occurred while running Task '(2)' of type com.atlassian.bamboo.plugins.maven:task.builder.mvn3. error 23-Mar-2019 20:09:59 com.atlassian.bamboo.task.TaskException: Failed to execute task error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.plugins.maven.task.Maven3BuildTask.execute(Maven3BuildTask.java:104) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41) error 23-Mar-2019 20:09:59 at java.lang.Thread.run(Thread.java:748) error 23-Mar-2019 20:09:59 Caused by: java.lang.IllegalArgumentException: The working directory C:\Program Files\Bamboo\bin\xml-data\build-dir\ANZ-ANZ4-JOB1\C:\Users\Bharath\Desktop\Bamboo must exist before executing the process error 23-Mar-2019 20:09:59 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.process.ProcessServiceImpl.createExternalProcess(ProcessServiceImpl.java:138) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.process.ProcessServiceImpl.executeExternalProcess(ProcessServiceImpl.java:195) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.process.ProcessServiceImpl.executeExternalProcess(ProcessServiceImpl.java:210) error 23-Mar-2019 20:09:59 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) error 23-Mar-2019 20:09:59 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) error 23-Mar-2019 20:09:59 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) error 23-Mar-2019 20:09:59 at java.lang.reflect.Method.invoke(Method.java:498) error 23-Mar-2019 20:09:59 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) error 23-Mar-2019 20:09:59 at com.sun.proxy.$Proxy396.executeExternalProcess(Unknown Source) error 23-Mar-2019 20:09:59 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) error 23-Mar-2019 20:09:59 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) error 23-Mar-2019 20:09:59 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) error 23-Mar-2019 20:09:59 at java.lang.reflect.Method.invoke(Method.java:498) error 23-Mar-2019 20:09:59 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) error 23-Mar-2019 20:09:59 at com.sun.proxy.$Proxy396.executeExternalProcess(Unknown Source) error 23-Mar-2019 20:09:59 at com.atlassian.bamboo.plugins.maven.task.Maven3BuildTask.execute(Maven3BuildTask.java:72) error 23-Mar-2019 20:09:59 ... 16 more
Is the setting "Working subdirectory" in the Maven task configured with "C:\Users\Bharath\Desktop\Bamboo"?
Bamboo perform build in the working directory, for example "C:\Program Files\Bamboo\bin\xml-data\build-dir\ANZ-ANZ4-JOB1". The setting "Working subdirectory" is used to add subdirectory to the working directory.
By the way, it seems that you have installed Bamboo with Bamboo Home configured as the same directory as Bamboo Installation directory. It is not recommended to use the same directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.