Sonarqube src/test execution on version 7.6 with gradlegradle test error: retrolambda.oldJdkjava.lang.UnsupportedClassVersionError: org/sonarqube/gradle/SonarQubePluginGradle sonarqube not recognizing groovy testsSonarQube for Gradle: Component can't be nullJava Quickstart Build Failed With non-zero exit value 1VSTS Gradle SonarQube - Unhandled: Cannot read property 'statusCode' of undefinedcom.android.builder.dexing.DexArchiveMergerException: Unable to merge dex 5what that is error mean when i building gradle?Error in travis-ci, sonarqube with GradleExecution failed for task ':app:transformDexWithInstantRunDependenciesApkForDebug'. Fix Error
Are there attacks that are neither melee nor ranged?
Why does this RX-X lock not appear in Extended Events?
Anti-cheating: should there be a limit to a number of toilet breaks per game per player?
Why were contact sensors put on three of the Lunar Module's four legs? Did they ever bend and stick out sideways?
ECDSA: Why is SigningKey shorter than VerifyingKey
Can I change the license of a forked project to the MIT if the license of the parent project has changed from the GPL to the MIT?
How to center rows in multiline set
Why is it "on the inside" and not "in the inside"?
How can I say in Russian "I am not afraid to write anything"?
Copying an existing HTML page and use it, is that against any copyright law?
What is this 4 sharp symbol and what does it mean?
Why force the nose of 737 Max down in the first place?
How can Paypal know my card is being used in another account?
What happens when a flying sword is killed?
Why did House of Representatives need to condemn Trumps Tweets?
Is there a wealth gap in Boston where the median net worth of white households is $247,500 while the median net worth for black families was $8?
Will this creature from Curse of Strahd reappear after being banished?
What container to use to store developer concentrate?
Reading line from terminal in expl3
Does Dispel Magic destroy Artificer Turrets?
What are the cons of stateless password generators?
Is there an antonym(a complementary antonym) for "spicy" or "hot" regarding food (I DO NOT mean "seasoned" but "hot")?
Name These Animals
Why did Windows 95 crash the whole system but newer Windows only crashed programs?
Sonarqube src/test execution on version 7.6 with gradle
gradle test error: retrolambda.oldJdkjava.lang.UnsupportedClassVersionError: org/sonarqube/gradle/SonarQubePluginGradle sonarqube not recognizing groovy testsSonarQube for Gradle: Component can't be nullJava Quickstart Build Failed With non-zero exit value 1VSTS Gradle SonarQube - Unhandled: Cannot read property 'statusCode' of undefinedcom.android.builder.dexing.DexArchiveMergerException: Unable to merge dex 5what that is error mean when i building gradle?Error in travis-ci, sonarqube with GradleExecution failed for task ':app:transformDexWithInstantRunDependenciesApkForDebug'. Fix Error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to analyze all of the java files located inside the src/test directory, but I can't get this working.
I have tried the options below
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
Task :sonarqube FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':sonarqube'.
File src/test/java/LibraryTest.java can't be indexed twice. Please check that
nclusion/exclusion patterns produce disjoint sets for main and test files
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
ption to get more log output. Run with --scan to get full insights.
2)
I have also tried with -Dsonar.sources=src/test -Dsonar.inclusions= src/**/*.java
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions= src/**/*.java
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
FAILURE: Build failed with an exception.
What went wrong:
Task 'src/**/*.java' not found in root project 'SonarQube'.Try:
Run gradle tasks to get a list of available tasks. 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.Get more help at https://help.gradle.org
BUILD FAILED in 1s
3)
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions=src/test/*.java
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
Task :test
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
Task :sonarqube
Failed to set working directory hidden: C:UsersTestSonarQubebuildsonar
SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM
of your project, or disable the SCM Sensor in the project settings.
BUILD SUCCESSFUL in 10s
5 actionable tasks: 5 executed
But still, I can't see changes on sonarqube server
java sonarqube
add a comment |
I am trying to analyze all of the java files located inside the src/test directory, but I can't get this working.
I have tried the options below
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
Task :sonarqube FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':sonarqube'.
File src/test/java/LibraryTest.java can't be indexed twice. Please check that
nclusion/exclusion patterns produce disjoint sets for main and test files
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
ption to get more log output. Run with --scan to get full insights.
2)
I have also tried with -Dsonar.sources=src/test -Dsonar.inclusions= src/**/*.java
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions= src/**/*.java
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
FAILURE: Build failed with an exception.
What went wrong:
Task 'src/**/*.java' not found in root project 'SonarQube'.Try:
Run gradle tasks to get a list of available tasks. 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.Get more help at https://help.gradle.org
BUILD FAILED in 1s
3)
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions=src/test/*.java
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
Task :test
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
Task :sonarqube
Failed to set working directory hidden: C:UsersTestSonarQubebuildsonar
SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM
of your project, or disable the SCM Sensor in the project settings.
BUILD SUCCESSFUL in 10s
5 actionable tasks: 5 executed
But still, I can't see changes on sonarqube server
java sonarqube
add a comment |
I am trying to analyze all of the java files located inside the src/test directory, but I can't get this working.
I have tried the options below
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
Task :sonarqube FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':sonarqube'.
File src/test/java/LibraryTest.java can't be indexed twice. Please check that
nclusion/exclusion patterns produce disjoint sets for main and test files
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
ption to get more log output. Run with --scan to get full insights.
2)
I have also tried with -Dsonar.sources=src/test -Dsonar.inclusions= src/**/*.java
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions= src/**/*.java
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
FAILURE: Build failed with an exception.
What went wrong:
Task 'src/**/*.java' not found in root project 'SonarQube'.Try:
Run gradle tasks to get a list of available tasks. 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.Get more help at https://help.gradle.org
BUILD FAILED in 1s
3)
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions=src/test/*.java
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
Task :test
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
Task :sonarqube
Failed to set working directory hidden: C:UsersTestSonarQubebuildsonar
SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM
of your project, or disable the SCM Sensor in the project settings.
BUILD SUCCESSFUL in 10s
5 actionable tasks: 5 executed
But still, I can't see changes on sonarqube server
java sonarqube
I am trying to analyze all of the java files located inside the src/test directory, but I can't get this working.
I have tried the options below
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
Task :sonarqube FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':sonarqube'.
File src/test/java/LibraryTest.java can't be indexed twice. Please check that
nclusion/exclusion patterns produce disjoint sets for main and test files
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
ption to get more log output. Run with --scan to get full insights.
2)
I have also tried with -Dsonar.sources=src/test -Dsonar.inclusions= src/**/*.java
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions= src/**/*.java
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
FAILURE: Build failed with an exception.
What went wrong:
Task 'src/**/*.java' not found in root project 'SonarQube'.Try:
Run gradle tasks to get a list of available tasks. 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.Get more help at https://help.gradle.org
BUILD FAILED in 1s
3)
C:UsersTestSonarQube>gradle clean sonarqube -Dsonar.sources=src
/test -Dsonar.inclusions=src/test/*.java
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
Task :test
Picked up JAVA_TOOL_OPTIONS: -Djdk.http.auth.tunneling.disabledSchemes=""
Task :sonarqube
Failed to set working directory hidden: C:UsersTestSonarQubebuildsonar
SCM provider autodetection failed. Please use "sonar.scm.provider" to define SCM
of your project, or disable the SCM Sensor in the project settings.
BUILD SUCCESSFUL in 10s
5 actionable tasks: 5 executed
But still, I can't see changes on sonarqube server
java sonarqube
java sonarqube
edited Mar 27 at 8:21
Rock
asked Mar 26 at 19:25
RockRock
34 bronze badges
34 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364857%2fsonarqube-src-test-execution-on-version-7-6-with-gradle%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364857%2fsonarqube-src-test-execution-on-version-7-6-with-gradle%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown