Sonar Coverage is failing due to some scripts

Hi Team,
I’m facing issue with the sonar coverage issue earlier my code is working fine and covergae is running fine but in one of the jenkins stage I defined stage as paramterizing the variable and It is generating sec_file.json and file in jenkins workspace and by adding this stage only coverage is being reduced from 63 to 38 directly . Still I’m not able to figure out what is the issue . I have included those files in sonar exclusion as well but still no luck for the same . Even I’m running the taht particular stage after QG also but still that code is failing. How come this is hapenning . I’m not getting it .


Can you share your analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.