Since sonarqube-scan-action
release v3.0.0 earlier today (13th August 2024) our GitHub actions are failing with the following error:
/entrypoint.sh: line 15: keytool: command not found
The previous version (v2.3.0) was working fine.
Since sonarqube-scan-action
release v3.0.0 earlier today (13th August 2024) our GitHub actions are failing with the following error:
/entrypoint.sh: line 15: keytool: command not found
The previous version (v2.3.0) was working fine.
Must-share information (formatted with Markdown):
/usr/local/bin/docker run --name cd55fddaeec054bda4ae1b8a3f97261454999_ca0f6c --label 2cd55f --workdir /github/workspace --rm -e "SONAR_TOKEN" -e "SONAR_HOST_URL" -e "SONAR_ROOT_CERT" -e <env_vars> -e GITHUB_ACTIONS=true -e CI=true --entrypoint "/entrypoint.sh" --network github_network_52346eb51f5f455ea537eccd8807e5ad -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/runner/_work/_temp/_github_home":"/github/home" -v "/runner/_work/_temp/_github_workflow":"/github/workflow" -v "/runner/_work/_temp/_runner_file_commands":"/github/file_commands" -v "/runner/_work/res-macro-data-service/res-macro-data-service":"/github/workspace" 2cd55f:ddaeec054bda4ae1b8a3f97261454999
(https://github.com/NinetyOne-GitHub/res-macro-data-service/actions/runs/10370187212/job/28707534282#step:18:58)Adding custom root certificate to java certificate store
(https://github.com/NinetyOne-GitHub/res-macro-data-service/actions/runs/10370187212/job/28707534282#step:18:59)/entrypoint.sh: line 15: keytool: command not found
I grabbed sonar-scanner-cli:11, and keytool no longer appears on the path. It is there in sonar-scanner-cli:10
Hey all.
Thanks for the headsup.
We’ve pointed @master
back to @2.3.0
while we address this, and here’s a ticket you can track for us to fix this in @3
. SQSCANGHA-44
In the unlikely chance somebody comes across this and has pinned their action to @3
… switch it back
Please look at this comment: SQSCANGHA-42 Update scanner cli to v11.0 · SonarSource/sonarqube-scan-action@0c0f395 · GitHub