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,557,694
Community Members
 
Community Events
184
Community Groups

Bitbucket Pipeline Gradle / JDK 11 fails

Deleted user May 27, 2021

Hello, 

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

pipelines:
default:
- parallel:
- step:
name: Build and Test
caches:
- gradle
script:
- gradle build
after-script:
- pipe: atlassian/checkstyle-report:0.2.0
- step:
name: Security Scan
script:
# Run a security scan for sensitive data.
# See more security tools at https://bitbucket.org/product/features/pipelines/integrations?&category=security
- 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 https://docs.gradle.org/6.3/release-notes.htmlStarting 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: build_943zgsg5a4rp01om5sho1wutm.java() 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 https://help.gradle.org

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events