Closed kirubakaran25 closed 3 months ago
Have you set the environment variables in the container? https://github.com/mc1arke/sonarqube-community-branch-plugin?tab=readme-ov-file#docker
I suspect you're either missing Git metadata (not being copied into your container?) or not copying the CI's environment variables into your container. This doesn't sound like a plugin problem, but I don't have enough evidence to try and replicate this.
Closing due to lack of replication steps or follow-on comments
Describe the bug when executing sonar scan normally with Jenkins pipeline, BRANCH configuration is getting detected but when I run the same scanner inside a container like node:18 for nodejs dependency it won't detect the plugin. Am i missing something? any help would be greatly appreciated
To Reproduce Steps to reproduce the behavior:
Expected behavior should be able to use the plugin inside a container
Screenshots If applicable, add screenshots to help explain your problem.
Software Versions
Additional context Add any other context about the problem here.