How can I Run A Sonar Analysis Without Maven? Mark Austin July 13, 2022 11:06 Updated The content of this article has moved to the new documentation site. Related articles Pipeline - Build failed due to MissingPropertyException: No such property: env How to access Changelogs in a Pipeline Job? Pipeline - How to write a declarative pipeline to invoke another job How to troubleshoot 'hudson.FilePath is missing' in a Pipeline run I have a stuck Pipeline and I can not stop it Comments 3 comments Sort by Date Votes Kishore Bhatia November 10, 2015 16:55 Use-case: when running this Sonar Analysis build on a distributed build-node (and not the master itself) - If you see an error related to JDBC source or db connection failure, then provide additional args for jdbc source and make sure the build-node is able to connect with that jdbc source (IP/port). try with this additional arg (sample values shown)- -Dsonar.jdbc.url=jdbc:h2:tcp://sonar-vm:9092/sonar (replace with actual jdbc url) The sonar-runner output should reflect jdbc src arg like: C:\sonar-runner-2.4\bin\sonar-runner.bat -e -Dsonar.host.url=host:port -Dsonar.jdbc.url=jdbc:h2:tcp://host:port/sonar ... 0 Rekha Karavate January 05, 2018 09:05 Hello, I want to run sonarqube analysis for the C code using Jenkinsfile. How can I use SoanrQube for the C project?I guess I need to use Build Wrapper. But I didn't get much information how to use build Wrapper in jenkins. Thanks. 0 Denys Digtiar January 10, 2018 00:12 Hi Rekha, I believe you can find an answer to your question in the documentation, here is a link: Analyzing in a Jenkins Pipeline 0 Please sign in to leave a comment.