Skip to content

Change location of executable check #12

@benwilkes9

Description

@benwilkes9

Hi, I've installed sonar-scanner into a project and I'm running it from that project /Users/wilkesbe/dev/searchbox

However, when it runs it says Checking if executable exists: /Users/wilkesbe/.sonar/native-sonar-scanner/sonar-scanner-3.0.3.778-macosx/bin/sonar-scanner

And when it goes into the build pipeline it is also checking a different location to project. So every time we run it, it downloads the binaries (because we re-create the image every time)

So I'd like to be able to get it run from within the project - how can I do this?

I've tried this, but it doesn't work
yarn run sonar-scanner --define --sonar.working.directory=.

I think it might be a parameter when we do the yarn/npm install?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions