You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
I have a simple java application on my windows machine, when running "sonar-scanner" from CMD the scan executes successfully. However, when I use Bmboo build plan I have the below as my Additional parameters:
-Dsonar.projectKey=Demo
-Dsonar.host.url=https://sonarqube.business.org
-Dsonar.login=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-Dsonar.java.binaries=C:\Users\omar\projects\OmarsWP9T2Demo
The build fails with this error:
"NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
ERROR: Invalid value for sonar.java.binaries
ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException: No files nor directories matching 'C:\Users\omar\projects\OmarsWP9T2Demo'"
This is very odd since I have my .class files in this path 'C:\Users\omar\projects\OmarsWP9T2Demo'"
Can someone let me know how to fix this please?