Jhipster Maven Bitbucket Pipelines Pre Build Issues

Hi, is there anyway verify can run without a successful build? My application is actually running now and we installed this to check the code quality but it isn’t working properly in bitbucket pipelines. Any input will help thanks!

  • Bitbucket Pipelines
  • Bitbucket
  • ./mvnw -Pprod clean install sonar:sonar -Dsonar.host.url=http://localhost:9001
  • Java Maven
[ERROR] Tests run: 41, Failures: 0, Errors: 7, Skipped: 0

[INFO] Skipping Central Gateway
[INFO] This project has been banned from the build due to previous failures.


Welcome to the community!

Unfortunately, I’m not sure understand the question.

This seems like a question about how Maven works, rather than anything Sonar-specific…?



Sorry, I was talking about the command of sonar verify can it run without a successful build like a pre-build checker? or can I the build command?


There isn’t a verify command on the Sonar side.

In a Java context, though, I can say that you need to compile before analysis because analysis needs access to both the source and class files.