Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the default file pattern and suffix at global level for Sonar-Flow #27

Open
alok347 opened this issue Dec 2, 2020 · 2 comments

Comments

@alok347
Copy link

alok347 commented Dec 2, 2020

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:

image

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:

image

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

@alok347
Copy link
Author

alok347 commented Dec 3, 2020

Hi Team,

Do we have any update for the issue i raised?

Regards,
Alok Singh

@lievekr
Copy link

lievekr commented Dec 3, 2020

Hi Alok

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.

Kind regards
Kristof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants