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:“
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?

It seems, I just need to install bash.