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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
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(
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.task.TaskExecutorImpl.execute(
error   13-Mar-2018 17:30:12        at
error   13-Mar-2018 17:30:12        at
error   13-Mar-2018 17:30:12        at$
error   13-Mar-2018 17:30:12        at$
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(
error   13-Mar-2018 17:30:12        at
error   13-Mar-2018 17:30:12        at$
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.utils.BambooRunnables$
error   13-Mar-2018 17:30:12        at
error   13-Mar-2018 17:30:12        at
error   13-Mar-2018 17:30:12        at$
error   13-Mar-2018 17:30:12        at
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
error   13-Mar-2018 17:30:12        at com.atlassian.bamboo.plugins.docker.service.BuildService.execute(
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(
error   13-Mar-2018 17:30:12        at

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

694 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you