Question

I have my source repository hosted in GitHub. I now want my Sonar instance (deployed on Amazon EC2) to pull from the git repository periodically to analyze the codebase. The project is a simple JavaScript project, I do not want ANT, Maven or Jenkins to be involved, but just Sonar to pull code periodically.

Is this possible?

Was it helpful?

Solution

Sonar has no built-on cron, nor any connector to SCM tools to retrieve source code. So retrieving sources and triggering an analysis is out of its scope: this is the responsibility of other tools like CI servers (Jenkins / Hudson / Team City / Bamboo / ...).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top