Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Bitbucket Pipeline Gradle / JDK 11 fails


I just started my first pipeline evaluation. For this I set up a repo with a gradle / Java 11 project.


But the Pipeline always fails and I dont unterstand the reason.

My pipeline is this: 

image: gradle:6.3.0-jdk11

- parallel:
- step:
name: Build and Test
- gradle
- gradle build
- pipe: atlassian/checkstyle-report:0.2.0
- step:
name: Security Scan
# Run a security scan for sensitive data.
# See more security tools at
- pipe: atlassian/git-secrets-scan:0.4.3

The error is:

Here are the highlights of this release: - Java 14 support - Improved error messages for unexpected failuresFor more details see a Gradle Daemon (subsequent builds will be faster)FAILURE: Build failed with an exception.* Where:Build file '/opt/atlassian/pipelines/agent/build/build.gradle' line: 9* What went wrong:A problem occurred evaluating root project 'MgmTech'.> No signature of method: is applicable for argument types: (build_943zgsg5a4rp01om5sho1wutm$_run_closure1) values: [build_943zgsg5a4rp01om5sho1wutm$_run_closure1@29d02410] Possible solutions: wait(), any(), wait(long), tap(groovy.lang.Closure), each(groovy.lang.Closure), any(groovy.lang.Closure)* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at



0 answers

Suggest an answer

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

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,519 views 4 8
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