How to run a static code analysis without build (C++ project)

Hi :smiley:

I am new to SonarCloud and considering use it for code analysis
I have a c++ project kept in Bitbucket.
I don’t want to go through the whole pipelining process for building my project (specified by ‘bitbucket-pipelines.yml’ file)
I just want to run the static code analysis on my project
Is there any way to achieve it?

I appreciate your help
Thanks!

Hi! And welcome to the community!

You don’t need to setup a full pipeline you can also just analyze your code locally whenever you want.

To do so you can follow the tutorial to manually analyze your project that should appear when you import your project from Bitbucket cloud. You can also find more details about running an analysis on the analysis documentation.