Hi @lawrence,
indeed you are right, checking new bazel version the options should be as follow:
build-wrapper-linux-x86-64 --out-dir sonar-dir bazel --batch build --spawn_strategy=standalone --genrule_strategy=standalone //...
spawn_strategy
and genrule_strategy
should come after build
. Could you please confirm it works? I am going to update the documentation.