'Project was never analyzed' when analysing on sonarcloud with travis

You are trying to directly analyze a branch whereas your project has not been created yet. This is why you get the following message:

Project was never analyzed. A regular analysis is required before a branch analysis

Fixing the situation is simple:

  1. Go to your organization “Administration > Projects Management” page
  2. Click on “Create Project” and set the project name and key (com.github.yeutech-lab.accept-dot-path in your case)

This will fix your issue.

2 Likes