Improve Java ITs: Replace deprecated setProfile
by associateProjectToQualityProfile
#8389
Labels
setProfile
by associateProjectToQualityProfile
#8389
In Tests.analyzeProject, we use
setProfile
which is deprecated and probably not even compatible with S4NET (I am not sure we use thesonar.profile
option).It is not as simple as replacing the call,
associateProjectToQualityProfile
requires the project to already exist as it calls theapi/qualityprofiles/add_project
endpoint which assumes that the project exists.One approach could be:
The same goes for the VBNET version.
Usage outside the Tests class should be checked as well.
The text was updated successfully, but these errors were encountered: