-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix errors in CI/CD pipeline #194
Comments
The Sonar issue has to do with the fact we can't easily share the token with contributors outside of the AxonIQ organization. |
I'm aware of this problem. Usually the way to go will to split the build into two pipelines. One pipeline without sonar and one for sonar issues... This will give you a chance to see if the build runs correctly. You could tweak it in a way, that the PR needs to get approved first to trigger the Sonar build... The workflow would look like this:
Another idea is to let it run as it is it now but add a condition to run sonar only on "authorized" branches, since you are not able to run it on public PRs by any other means... |
I was hoping for an approach that still included Sonar for contributors too since that code needs to be validated just as well. I'd see ignoring sonar as a temporary solution. |
This is closed by #201, right? Can we close it? |
Expected behaviour
CI/CD Pipeline deployes snaphosts / releases
Actual behaviour
The pipeline seems to have multiple errors:
There are some issues with calling Sonar (no authorization).
Error: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.0.2155:sonar (default-cli) on project axon-kafka-parent: You're not authorized to run analysis. No sonar.login or SONAR_TOKEN env variable was set -> [Help 1]
See: https://github.com/AxonFramework/extension-kafka/runs/3869078032?check_suite_focus=true
Due to incompatibility in a module naming scheme, JavaDoc maven plugin fails to detect the name of the Kafka module. This leads to a build error and prevents pipeline from completing.
See: https://github.com/AxonFramework/extension-kafka/runs/3836134591?check_suite_focus=true
The text was updated successfully, but these errors were encountered: