I have a unique situation where I work in a CI team. Our yaml files contain shell and python scripts inside them. Does sonar cloud support the analysis in this use case. Are there any workarounds we have to use to get this done.
Unfortunately, SonarCloud doesn’t support analyzing code embedded in YAML files, with a few exceptions (JavaScript and TypeScript code embedded inside AWS template files in YAML.). Python is not one of these exceptions, and Shell is not supported by SonarCloud.
You would have to extract this code to separate files in order to be analyzed by SonarCloud.
While we do not currently support this, I’d like to understand the need better. Would you be open to a quick chat to discuss it? I have sent you a link to my calendar in a private message and you can book some time at your convenience.
Thank you for your response. I apologize for the delayed reply. I’d be happy to explain the scenario, although I’m not entirely sure if this approach aligns with standard development practices, as it seems to fall outside typical OOP principles.
That said, I’ll get back to you with more details. I really appreciate you reaching out.