Skip to content

can we please have better parity with the other scanners for projectKey, projectName, and projectVersion cli params?Β #842

@red8888

Description

@red8888

This seems like it would be trivial to implement.

for all other scanners I can set params like this:

        -Dsonar.projectKey=...
        -Dsonar.projectName=...
        -Dsonar.projectVersion=...
        -Dsonar.organization=...

for the msbuild scanner i must use a totally different, totally non-descript switch for each:

/k:...
/n:...
/v:...
/o:...

the .net core scanner support "-" now but why cant the non-dotnet core and .net core scanners support setting these params via the properties switch as well?

I have multiple platforms to support and i script this with the cli. I have this weird exception i have to make for windows. the params are identical but the switches are totally different

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions