Clone
 

bo zhang <bo@gradle.com> in Gradle

Revert "Merge pull request #10795 from gradle/lacasseio/deprecate-methods-on-start-parameter"

This reverts commit 40cb80789fed1f36e5501d9e8ac35fcb290c6b76, reversing

changes made to f6c349254943c709e33dd409729174f5adf9f6ce.

Rebaseline NativeCleanBuildPerformanceTest

See https://github.com/gradle/gradle-private/issues/2714

Rebasline to lock improvements

Separate samples project

    • -12
    • +2
    /subprojects/samples/samples.gradle.kts
Use a separate project

  1. … 73 more files in changeset.
Make more buckets (#10765)

* Make more buckets

* Put project name in bucket name

* Refactor & add tests

* Fix warnings

Fix warnings

    • -4
    • +4
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Refactor & add tests

    • -25
    • +42
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Put project name in bucket name

Make more buckets

    • -6
    • +10
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Migrate h2 performance database to another machine

    • -1
    • +1
    /.teamcity/common/performance-test-extensions.kt
Migrate h2 performance database to another machine

    • -1
    • +1
    /.teamcity/common/performance-test-extensions.kt
Use unified timestamp when cleaning stale data (#10732)

This fixes https://github.com/gradle/gradle-private/issues/2701

Previously we saw some failures when cleaning stale data. This might be

caused by different timestamps used. This commit uses same timestamp to

clean both testOperation and testExecution table.

Use unified timestamp when cleaning stale data

This fixes https://github.com/gradle/gradle-private/issues/2701

Previously we saw some failures when cleaning stale data. This might be

cause by different timestamps used. This commit uses same timestamp to

clean both testOperation and testExecution table.

Use unified timestamp when cleaning stale data

Previously we saw some failures when cleaning stale data. This might be

cause by different timestamps used. This commit uses same timestamp to

clean both testOperation and testExecution table.

Disable some HTTPS tests on JDK 12

Until https://bugs.openjdk.java.net/browse/JDK-8219658 is fixed.

Fix TeamCity DSL tests

Fix missing deferred_tests (#10712)

Fix missing deferred_tests

Do not split tests on AllVersionsCrossVersion (#10702)

See https://github.com/gradle/gradle-private/issues/2693

This commit disable test splits for AllVersionsCrossVersion.

    • -2
    • +2
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Do not split tests on AllVersionsCrossVersion

See https://github.com/gradle/gradle-private/issues/2693

This commit disable test splits for AllVersionsCrossVersion.

    • -2
    • +2
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Ignore more slow HTTPS tests

Ignore HTTPS slow tests on JDK12

Fix incorrect split (#10689)

I made a mistake when splitting the test sets: suppose we have 1000 tests and want to split into 3 buckets, the previous split is [333,333,333,1], so the test include/exclude patterns are:

- include 1..333

- include 334..666

- exclude 1..999

We're missing a large subset of tests! This fixes this issue by correctly splitting the buckets.

Fix Kotlin DSL style

    • -6
    • +4
    /.teamcity/Gradle_Check/model/CIBuildModel.kt
Fix split

Count test number

Fix BuildTypesPluginTest

Make buckets in TeamCity configuration (#10552)

Currently, the primary obstacles for us to improve CI feedback time is the long-running jobs: `integTest`/`core`/`dependencyManagement` each takes more than 10 minutes. Without decreasing the time we can't improve CI feedback time.

This PR changes the previous subproject-based TC job to bucket-based TC job: a bucket can contain a split of large subproject, or many tiny subprojects. This makes CI configuration more flexiable and efficient.

For example, all tiny subprojects which only contain unit tests can be merged to `AllUnitTests`, just as before - but now we make this more generic.

`integTest` subproject can be split to 3 jobs: `integTest`/`integTest_2`/`integTest_3`. Splitted project has a special parameter `-PtestSplit=1/3`/`-PtestSplit=2/3`/`-PtestSplit=3/3` so the build can choose only a subset of tests to execute.

    • -12
    • +110
    /.teamcity/Gradle_Check/model/CIBuildModel.kt