Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,869
Community Members
 
Community Events
176
Community Groups

getting the below error need a solution

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

1 answer

1 vote
Foong Atlassian Team Apr 15, 2019

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events