Dotnet pipeline EXECUTION SUCCESS with an error

  • ALM: Bitbucket Cloud
  • CI system used Bitbucket Cloud
  • Scanner command used when applicable (private details masked)

dotnet sonarscanner begin /k:“[ProjectKey]” /o:“[OrganizationKey]” /d:sonar.login=“${SONAR_TOKEN}” /d:“sonar.host.url=https://sonarcloud.io
dotnet build xxx
dotnet sonarscanner end /d:sonar.login=“${SONAR_TOKEN}”

  • Languages of the repository : C#

  • Error observed:
    “ERROR: Error while executing the command uname -m Cannot run program “/bin/bash”: error=2, No such file or directory”

After running the pipeline, it succeeds while there is an error after sonarscanner end command is executed. could you help me with this issue?
Thanks!

It seems, I just need to install bash.