Hi, I'm currently using the image sonarsource/sonarcloud-scan:1.4.0 to run my sonarcloud analysis through bitbucket pipelines.
image: atlassian/default-image:4
definitions:
services:
docker:
memory: 4096
caches:
sonar: ~/.sonar/cache # Caching SonarCloud artifacts will speed up your build
analyze: &analyze
- step:
name: "Analyze on SonarCloud"
size: 2x
caches:
- sonar
script:
- pipe: sonarsource/sonarcloud-scan:1.4.0
variables:
SONAR_SCANNER_OPTS: -Xmx1024m
- pipe: sonarsource/sonarcloud-quality-gate:0.1.6
variables:
SONAR_SCANNER_OPTS: -Xmx1024m
pipelines:
pull-requests:
'**':
- <<: *analyze
I got the following warning message from sonarcloud:
The version of Java (11.0.3) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Read more
Does Atlassian plan to update this image with Java 17?
Thank you for your question!
The pipe is maintained by sonarsource team, please follow the link in the Support section of the README.md and suggest to do all needed updates.
Best regards,
Oleksandr Kyrdan
Thanks, I've found someone asking the same in sonarsource
https://community.sonarsource.com/t/sonarcloud-sonar-scan-bitbucket-pipe-1-4-0-uses-deprecated-java-11/96863
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.