You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am maintaining the enterprise edition of sonarqube 7.9 LTS version for my company. The SonarQube instance is centrally hosted and currently have 2k+ projects analysed. We have recently got a request from users to install Flow-Plugin for their project.
Issue:
Post installation of the Flow plugin we are getting below error
"ERROR: Language of file ‘AH_002004_Pub_NASA/ns/ah_002004_pub_nasa/v01/changeHistory/flow.xml’ can not be decided as the file matches patterns of both sonar.lang.patterns.xml : /*.xml,/.xsd,/.xsl and sonar.lang.patterns.flow : /.xml,/.ndf"**
This is breaking the analysis for other projects. As a workaround, we used a parameter to "-Dsonar.lang.patterns.flow=xml" to avoid the conflict and it fixed the issue. But this solution is not feasible as this would require changes in pipelines of multiple projects.
As a workaround we tried changing the global configuration of flow plugin by changing the flow file pattern to a different path and changing the suffix to a different one other than xm. please refer to below SS:
This changed reflected at the project level settings of flow plugin. Later, we tried updating the flow plugin configuration at the project settings but failed to do so . Please refer to the below SS:
Doing so will help us make changes only for the projects that want to use Flow Plugin rather than making the changes for large number of projects.
We need your expertise to resolve this issue and mitigate the impact on production application. Can you please let us know how to achieve this?
Regards,
Alok Singh
The text was updated successfully, but these errors were encountered:
This project is not actively maintained and provided as-is.
We can look at providing you a commercial offer to investigate and solve this issue. Please send a mail to [email protected] with your contact details if this is an option for you. Please refer to this issue in your mail.
Hi Team,
I am maintaining the enterprise edition of sonarqube 7.9 LTS version for my company. The SonarQube instance is centrally hosted and currently have 2k+ projects analysed. We have recently got a request from users to install Flow-Plugin for their project.
Issue:
Post installation of the Flow plugin we are getting below error
"ERROR: Language of file ‘AH_002004_Pub_NASA/ns/ah_002004_pub_nasa/v01/changeHistory/flow.xml’ can not be decided as the file matches patterns of both sonar.lang.patterns.xml : /*.xml,/.xsd,/.xsl and sonar.lang.patterns.flow : /.xml,/.ndf"**
This is breaking the analysis for other projects. As a workaround, we used a parameter to "-Dsonar.lang.patterns.flow=xml" to avoid the conflict and it fixed the issue. But this solution is not feasible as this would require changes in pipelines of multiple projects.
As a workaround we tried changing the global configuration of flow plugin by changing the flow file pattern to a different path and changing the suffix to a different one other than xm. please refer to below SS:
This changed reflected at the project level settings of flow plugin. Later, we tried updating the flow plugin configuration at the project settings but failed to do so . Please refer to the below SS:
Doing so will help us make changes only for the projects that want to use Flow Plugin rather than making the changes for large number of projects.
We need your expertise to resolve this issue and mitigate the impact on production application. Can you please let us know how to achieve this?
Regards,
Alok Singh
The text was updated successfully, but these errors were encountered: