Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run sonar gate check on an aggregated project, in which there is some module without sonar report #55

Closed
Neola opened this issue Feb 4, 2021 · 3 comments · Fixed by #57
Assignees
Labels
enhancement New feature or request

Comments

@Neola
Copy link

Neola commented Feb 4, 2021

we have some aggregated projects, which have many modules, and there is no sonar report for some of modules.
when we run "sonar:sonar sonar-quality-gate:check" , it will failed with 404 error, failed to find the project key.
error like below,
[ERROR] Failed to execute goal io.github.r0bb3n:sonar-quality-gate-maven-plugin:1.0.2:check (default-cli) on project api: Bad status code '404' returned from xxxx

as I know sonar:sonar also scan all the modules, but not failed, if sonar-quality-gate:check also can only check the modules with sonar report intelligently.

@Neola
Copy link
Author

Neola commented Feb 4, 2021

sonar:sonar generate report based on the top pom, but sonar-quality-gate-maven-plugin:check scan each module to check, which is not our want.

@r0bb3n
Copy link
Owner

r0bb3n commented Feb 14, 2021

Hi @Neola ,
thanks for your message, I will have a look into it.
Regards,
r0bb3n

r0bb3n added a commit that referenced this issue Feb 14, 2021
r0bb3n added a commit that referenced this issue Feb 14, 2021
r0bb3n added a commit that referenced this issue Feb 14, 2021
r0bb3n added a commit that referenced this issue Feb 14, 2021
r0bb3n added a commit that referenced this issue Feb 14, 2021
…_project

feature/GH-55 support multi module project
@r0bb3n
Copy link
Owner

r0bb3n commented Feb 14, 2021

@Neola
please check this SNAPSHOT, release is coming soon.

@r0bb3n r0bb3n added the enhancement New feature or request label Feb 25, 2021
@r0bb3n r0bb3n self-assigned this Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants