Fix reproduction info to point to Gradle wrapper
With the Gradle wrapper in place, we should point the reproduction info to specify using the Gradle wrapper too. Relates #28104
This commit is contained in:
parent
f999d639be
commit
d712f581ca
|
@ -344,7 +344,7 @@ class VagrantTestPlugin implements Plugin<Project> {
|
|||
@Override
|
||||
void afterExecute(Task task, TaskState state) {
|
||||
if (state.failure != null) {
|
||||
println "REPRODUCE WITH: gradle ${packaging.path} " +
|
||||
println "REPRODUCE WITH: ./gradlew ${packaging.path} " +
|
||||
"-Dtests.seed=${project.testSeed} "
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ public class ReproduceInfoPrinter extends RunListener {
|
|||
return;
|
||||
}
|
||||
|
||||
final StringBuilder b = new StringBuilder("REPRODUCE WITH: gradle ");
|
||||
final StringBuilder b = new StringBuilder("REPRODUCE WITH: ./gradlew ");
|
||||
String task = System.getProperty("tests.task");
|
||||
// TODO: enforce (intellij still runs the runner?) or use default "test" but that won't work for integ
|
||||
b.append(task);
|
||||
|
|
Loading…
Reference in New Issue