What are some of the best ways to schedule weekly scans in Sonarqube community edition?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) 10.0
  • How is SonarQube deployed: zip, Docker, Helm: Docker
  • What are you trying to achieve: Scheduling automatic scans weekly on bitbucket repository
  • What have you tried so far to achieve this
    Haven’t tried but started researching on it
    Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!


the Sonarqube analysis should be part of your build script (Maven, npm …).
You may use crontab (Linux) or a scheduled task (Windows), but i recommend to set up
and use a CI tool like i.e. Jenkins.
see https://www.cloudbees.com/blog/how-to-schedule-a-jenkins-job


1 Like

Looking into it, thank you