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,558,900
Community Members
 
Community Events
184
Community Groups

Why the :yarnSetup task is executed in Bamboo docker build, can someone help me with this error? THX

Error Message:

 

:cleanResources UP-TO-DATE
build   13-Mar-2018 17:30:11    :bootBuildInfo
build   13-Mar-2018 17:30:11    :nodeSetup SKIPPED
build   13-Mar-2018 17:30:11    :yarnSetup FAILED
build   13-Mar-2018 17:30:11    
build   13-Mar-2018 17:30:11    FAILURE: Build failed with an exception.
build   13-Mar-2018 17:30:11    
build   13-Mar-2018 17:30:11    * What went wrong:
build   13-Mar-2018 17:30:11    Execution failed for task ':yarnSetup'.
build   13-Mar-2018 17:30:11    > A problem occurred starting process 'command 'npm''
build   13-Mar-2018 17:30:11    
build   13-Mar-2018 17:30:11    * Try:
build   13-Mar-2018 17:30:11    Run with --stacktrace option to get the stack trace. Run with --info or 3 actionable tasks: 2 executed, 1 up-to-date
build   13-Mar-2018 17:30:11    --debug option to get more log output.
build   13-Mar-2018 17:30:11    
build   13-Mar-2018 17:30:11    * Get more help at https://help.gradle.org
build   13-Mar-2018 17:30:11    
build   13-Mar-2018 17:30:11    BUILD FAILED in 20s
build   13-Mar-2018 17:30:12    Removing intermediate container 4c6ed30b99b9
error   13-Mar-2018 17:30:12    The command '/bin/sh -c ./gradlew -Pprod bootRepackage' returned a non-zero code: 1
simple  13-Mar-2018 17:30:12    Failing task since return code of [/usr/bin/docker build --force-rm=true --tag=sdkimage /bamboo_home/xml-data/build-dir/VCP-VCPCG0-JOB1] was 1 while expected 0
error   13-Mar-2018 17:30:12    Error occurred while running Task 'Build sdk-image to compile source code (Release)(2)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli.
error   13-Mar-2018 17:30:12    com.atlassian.bamboo.task.TaskException: Failed to execute task
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.plugins.docker.service.BuildService.execute(BuildService.java:53)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:60)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:216)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:138)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
error   13-Mar-2018 17:30:12        at java.lang.Thread.run(Thread.java:748)
error   13-Mar-2018 17:30:12    Caused by: com.atlassian.bamboo.plugins.docker.client.DockerException: Error running Docker build command
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.plugins.docker.client.DockerCmd.build(DockerCmd.java:189)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.plugins.docker.service.BuildService.execute(BuildService.java:40)
error   13-Mar-2018 17:30:12        ... 17 more
error   13-Mar-2018 17:30:12    Caused by: com.atlassian.utils.process.ProcessException: Error executing /usr/bin/docker build --force-rm=true --tag=sdkimage /bamboo_home/xml-data/build-dir/VCP-VCPCG0-JOB1
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.execute(DockerTaskProcessService.java:60)
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.plugins.docker.client.DockerCmd.build(DockerCmd.java:185)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events