Sonar scan failed with exit status 128

For sonar scan build failed with exit status 128. Its java code using gradle build.

Run scanning job

TASK_URL=$(./gradlew -d sonar$CIRCLE_BRANCH$CIRCLE__TARGET_BRANCH | tee out | grep -Eo ‘http./api/ce/task.’)

Could you help in this?

Please help, what caused the error exit status 128.

:wave: I suspect this has something to do with the working directory of the command, since it can’t seem to find the git repository. Rerunning the job with SSH ( and running the commands manually should give a better idea of the behaviour. Is this from a Sonar Orb, or is this part of a manually written configuration @apg3727?

The above config need change in working directory ?