We are getting below error and not sure on how to sort the same out
- ./gradlew jacocoTestReport sonarqube -Dsonar.projectKey=GTO_International_GPTM_Data_Fabric_Kafka_Enrichment_933 ‘-Dsonar.projectName=GPTM_Data_Fabric_Kafka_Enrichment(933)’ -Dsonar.coverage.jacoco.xmlReportPaths=build/reports/jacoco/test/jacocoTestReport.xml
15:09:14 Starting a Gradle Daemon (subsequent builds will be faster)
15:09:21
15:09:21 > Configure project :
15:09:21 https://nexus.devops.broadridge.net/repository/GPTM-MAVEN-SNAPSHOT/
15:09:21
15:09:21 > Task :generateLombokConfig UP-TO-DATE
15:09:25 > Task :compileJava UP-TO-DATE
15:09:26 > Task :generateGitProperties UP-TO-DATE
15:09:26 > Task :processResources
15:09:26 > Task :classes
15:09:28 > Task :jacocoTestReport
15:09:28 > Task :compileTestJava UP-TO-DATE
15:09:28
15:09:28 > Task :sonarqube FAILED
15:09:28 SonarQube server [https://devops.sonarq.prd.prd.bfsaws.net] can not be reached
15:09:28
15:09:28 FAILURE: Build failed with an exception.
15:09:28
15:09:28 * What went wrong:
15:09:28 Execution failed for task ‘:sonarqube’.
15:09:28 > Unable to execute SonarScanner analysis
15:09:28
15:09:28 * Try:
15:09:28 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
15:09:28
15:09:28 * Get more help at https://help.gradle.org
15:09:28
15:09:28 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
15:09:28 Use ‘–warning-mode all’ to show the individual deprecation warnings.
15:09:28 See Command-Line Interface
15:09:28
15:09:28 BUILD FAILED in 15s
15:09:28 7 actionable tasks: 3 executed, 4 up-to-date