You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SonarQube scanner “Run Code Analysis” task demands "java" capability.
On one of our agent host machines, the java capability has gone, since we switched to OpenJDK.
It is working on another server with exactly the same conditions
I don't know how an agent detect java but all java related environment variables are still defined on the agent.
Details are here
We are using Azure DevOps Server 2020
Agent version is 2.177.1 on Windows Server 2012 R2
I will try the latest agent version but i don't see any related topic in the release notes.
The text was updated successfully, but these errors were encountered:
Hi @Shahyads agent checks following registry keys during capability scanning for this capability:
"Software\JavaSoft\Java Runtime Environment\1.6"
"Software\JavaSoft\Java Runtime Environment\1.7"
"Software\JavaSoft\Java Runtime Environment\1.8"
As a temporary workaround - you can specify custom user capability to provide proper path.
There is a PR already in progress to solve this issue - #3381
@Shahyads Fix for this issue has been released and available in the latest agent version. I am closing this item currently. Feel free to reopen it in case it still actual for you.
SonarQube scanner “Run Code Analysis” task demands "java" capability.
On one of our agent host machines, the java capability has gone, since we switched to OpenJDK.
It is working on another server with exactly the same conditions
I don't know how an agent detect java but all java related environment variables are still defined on the agent.
Details are here
We are using Azure DevOps Server 2020
Agent version is 2.177.1 on Windows Server 2012 R2
I will try the latest agent version but i don't see any related topic in the release notes.
The text was updated successfully, but these errors were encountered: