I have mutliple TypeScript projects which all basically use the same sonar properties except “projectKey”, “projectName” etc.
When I change something in the settings I have to change it in all projects, which takes a while and is annoying. So I want to share it somehow between the projects.
How can I achieve this?
Is it possible to extend other properties?
Or can I define multiple properties files when I execute the sonarqube-scanner?
Can I change the location of the properties file to a different location I share with other projects and overwrite the project-specific settings when calling sonarqube-scanner?
Do you have a different idea?
When nothing of it works my fallback plan is to don’t use the properties file at all but call the sonarqube-scanner directly with the settings which I then require from a shared module.
Hello @xxluke,
I’m having the same requirement but I’m very new to sonarqube and even don’t know how to perform
" call the sonarqube-scanner directly with the settings which I then require from a shared module.".
but I’ve more than one git repositories like below then how can I perform scanning for all of them in one jenkins job.
Job repositories like below :
But if I’ve more than one git repositories then how can I rearrange the above code.??
Please guide me I’m not able to get this since last 1 month.