Create
cancel
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

Sonarcloud java 11 suppport

Hi guys, i'm currently using atlassian/default-image:2 to run my sonarcloud analysis through bitbucket pipelines.

I got a warning message from sonarcloud, notifying me that in October 2020, java version 8 will not be supported by sonarcloud anymore and I will need to use java 11.

The version of Java (1.8.0_121) you have used to run this analysis is deprecated and we will stop accepting it from October 2020. Please update to at least Java 11.

Does Atlassian plan to update the java version of this machine? What image do you recommend using with java 11 for this purpose?

Thanks. 

1 answer

1 accepted

0 votes
Answer accepted

For Sonarcloud Sonarsource offers two options itself:

  1. Sonarcloud scanner CLI image: sonarsource/sonar-scanner-cli - With that in use, no new deprecation warnings should be added to the widget on pull-requests
  2.  Using a Bitbucket Pipelines Pipe image:

In one project I used 1. to remove the deprecation warnings, it was very straight forward in that case only replacing the image as the previous image was just  outdated. I do not have any experience with the Atlassian default image and sonar-scanner, but can imagine it is a similar experience.

The Pipe I do not have in use and therefore can not share much about it. Normally Sonarsource support suggests it first, but I never had the opportunity to make use of it. If you consider it, check the read me.

Thank you ktomk, i'm using now the sonarsource repositories to build my yml, writing that 2 pipes (scan and quality-gate). 

It works for me. 

Yes, Sonarsource supports these images pretty well, also the overall support by Sonarsource is noteworthy good. When I had a support issue I always left with the impression that this does not happen by accident in that company. I hope they can scale this well.

So great to read your experiences with the pipe images is similar.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

107 views 1 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