Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Run performance test against fork point commit (#7337)

This closes https://github.com/gradle/gradle-private/issues/1526

Basically, the idea is, we should run feature branch performance tests against the distribution which is built from the "fork point commit". This can reduce the effects of performance regression which is not introduced by the feature branch.

Two tasks are added into the build and depended by performance task:

- `determineForkPoint`, run `git` command to determine the fork point commit. It's done during the execution phase, then it sets the commit for `buildForkPointDistribution` task.

- `buildForkPointDistribution`, try to build a distribution from the fork point commit.

`buildForkPointDistribution` is cachable so it only needs to run once. Its input is the fork point commit, the output is two files: a binary distribution and a tooling api jar. The generated binary distribution is used to run individual worker tests.

  1. … 12 more files in changeset.
Add support for Travis

Fix BuildScanPlugin.system() hanging on Windows

Add search links to build scan (#6913)

Now there is a link to search scans for

- the same commit id

- the compile all build for the commit id

- the same build type

Reuse `Gradle.serviceOf` extension

Build scan plugin should not fail when build fails

Build scan plugin should not fail when build fails

Add classloader details only once per task to build scan

We have been adding duplicate information about the classloader details

of selected tasks (times the number of subprojects).

Let's not do that.

Polish `BuildScanPlugin`

- Suppress unused warning on plugin class

- Move auxiliary function to after its uses

- Shorten long expression with duplicate sub-expression via `sub-e.run { }`

- Deduplicate `buildScan` receiver by

- Nesting `background` expressions under single `buildScan` block

- Removing nested `buildScan` blocks

- Simplify `setCommitId` by changing receiver to `BuildScanExtension`

Use scan plugin 1.15

  1. … 1 more file in changeset.
Get the `buildScan` extension early to prevent CME with multi-threaded data gathering

Signed-off-by: Paul Merlin <paul@gradle.com>

Fix codenarc build scan values

Some violations don't have a message, but a source line instead.

Rename nested function for clarity

Wait for async processes to configure the `buildScan` extension

In `buildScan.buildFinished` to guarantee everything has finished before

transmitting the event stream.

Revert "Wait for async processes to configure `buildScan` extension"

This reverts commit 875e7f0fa844e91d3050f9f3c35d61f33de9356b.

Wait for async processes to configure `buildScan` extension

Polish `org.gradle.gradlebuild.profiling.buildscan.Visitor`

Avoid resolving all possible tasks

Apply ktlint-convention rules to Kotlin code in buildSrc

  1. … 55 more files in changeset.
Polish BuildScanPlugin.kt

Using .flatMap{} instead of .map{}.flatten()

Added gradlebuild namespace to plugins and more modularization in buildSrc

- Added to all plugins in buildSrc "gradlebuild." to their id

- Shortened plugin names

- Added ide and docs as additional modules

- Applied java-library plugin to Kotlin projects to model dependencies

    • -206
    • +0
    ./BuildScanConfigurationPlugin.kt
    • -0
    • +206
    ./BuildScanPlugin.kt
  1. … 85 more files in changeset.
Moved more scripts to buildSrc and refactored buildSrc

- Moved wrapper.gradle.kts to buildSrc

- Moved resumeBuild.gradle to buildSrc

- Moved minifiedDependencies.gradle to buildSrc

- Moved dependenciesCheck.gradle to buildSrc

- Moved updateReleasedVersions.gradle to buildSrc

- Introduced configuration submodule for developer focused configuration

- Created buildSrc submodule for buildquality

- Created buildSrc submodule for packaging

- Created buildSrc submodule for profiling

- Created buildSrc submodule for versioning

- Introduced org.gradle.gradlebuild naming convention

- Introduced project-groups file for providing groups of subprojects

    • -0
    • +206
    ./BuildScanConfigurationPlugin.kt
  1. … 40 more files in changeset.
Moved more scripts to buildSrc and refactored buildSrc

- Moved wrapper.gradle.kts to buildSrc

- Moved resumeBuild.gradle to buildSrc

- Moved minifiedDependencies.gradle to buildSrc

- Moved dependenciesCheck.gradle to buildSrc

- Moved updateReleasedVersions.gradle to buildSrc

- Introduced configuration submodule for developer focused configuration

- Created buildSrc submodule for buildquality

- Created buildSrc submodule for packaging

- Created buildSrc submodule for profiling

- Created buildSrc submodule for versioning

- Introduced org.gradle.gradlebuild naming convention

- Introduced project-groups file for providing groups of subprojects

    • -0
    • +206
    ./BuildScanConfigurationPlugin.kt
  1. … 40 more files in changeset.