Hi Team,
I’m facing issue when I try to run sonarqube cli. I used GitHub for source code and AWS codebuild for CI.
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.scanner.ci.CiConfiguration]: Factory method 'provide' threw exception; nested exception is Multiple CI environments are detected: [AwsCodeBuild, Github Actions]. Please check environment variables or set property sonar.ci.autoconfig.disabled to true.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
... 62 more
Caused by: Multiple CI environments are detected: [AwsCodeBuild, Github Actions]. Please check environment variables or set property sonar.ci.autoconfig.disabled to true.
Error: Process completed with exit code 1