Build Breaker: use threshold from system variable

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Build Breaker: use threshold from system variable

This post has NOT been accepted by the mailing list yet.
We have bunch of project under Sonar and all of them in different state for amount of Violations, we can not fix all problems right now from Sonar, but we would rather specify for each project limit special limit that can not be exceeded.
We cannot specify the same threshold for all projects, and it is not that simple to to maintain few Validation Configurations.

Is it possible to specify threshold from system variable ?

to be used like :
clean install sonar:sonar -Dsonar.buildbreaker.threshold=300

in this case each developers group could manage threshold in Jenkins to their needs and situation.