You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.
I am trying to build and scan my code the detekt sonar-kotlin plugin from an Azure Pipelines Gradle task. I have plugin version 2.5.0 installed on our SonarQube environment. On the sonarqube step, I get the following error:
> Task :app:sonarqube FAILED
:app:sonarqube (Thread[Execution worker for ':',5,main]) completed. Took 25.313 secs.
Created user preferences directory.
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.gradle.internal.buildevents.BuildExceptionReporter$ExceptionStyle
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org/
Error: The process '/home/vsts/work/1/s/gradlew' failed with exit code 1
at ExecState._setResult (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.200.2/node_modules/azure-pipelines-task-lib/toolrunner.js:944:25)
at ExecState.CheckComplete (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.200.2/node_modules/azure-pipelines-task-lib/toolrunner.js:927:18)
at ChildProcess.<anonymous> (/home/vsts/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/2.200.2/node_modules/azure-pipelines-task-lib/toolrunner.js:840:19)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
##[error]Error: The process '/home/vsts/work/1/s/gradlew' failed with exit code 1
Hi,
I am trying to build and scan my code the detekt sonar-kotlin plugin from an Azure Pipelines Gradle task. I have plugin version 2.5.0 installed on our SonarQube environment. On the sonarqube step, I get the following error:
I have made sure to use the most compatible tool versions as listed here: https://detekt.dev/docs/introduction/compatibility/
As we do not have an Android project we do not have AGP installed.
My build.gradle.kts file looks as follows:
My Gradle build Azure pipeline task looks as follows:
Could you help me resolve this issue?
The text was updated successfully, but these errors were encountered: