Eric Haag
7e34bc6983
Scope captured build failures
...
Scopes the captured build failures to only RUN_WORK and
CONFIGURE_PROJECT.
2025-03-04 08:23:26 -06:00
Daz DeBoer
0eda626a36
Catch more build failures in job summary ( #571 )
...
By inspecting a greater range of build operations for failure, the Job
summary will correctly reflect the build outcome in more circumstances.
Note that we now use the old 'buildFinished' mechanism for all Gradle
versions < `7.0`, instead of using the BuildService mechanism for all
Gradle versions from `6.6`. This avoids needing to deal with
inconsistent build operations present in Gradle versions `[6.6, 7.0)`.
Fixes #415
2025-02-27 22:46:42 -07:00
Bot Githubaction
aa23778d2d
Update develocity-injection init script to v1.2
...
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection .
2025-02-05 14:43:47 -07:00
Bot Githubaction
c94eb9d32c
Update develocity-injection init script to v1.1.1
...
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection .
2025-01-30 12:58:55 -07:00
daz
0b492c475f
Fix deprecation warnings in develocity init-script
...
This change has been made directly to the init-script, and will be superceded
by the equivalent fix in the reference script.
2025-01-30 08:51:44 -07:00
daz
79bad900c0
Fix deprecation warnings in dependency-graph init-script
2025-01-30 08:46:34 -07:00
daz
e4f356955f
Avoid capturing build-results for cache cleanup
...
The Gradle build used to perform cache-cleanup will run in the context of init-scripts
provided by the action, including those that collect build-results.
In some circumstances this can lead to unexpected results, such as saving configuration-cache
entries for cache cleanup executions.
With this change, build results will not be captured for cache-cleanup builds.
2025-01-21 09:45:13 -07:00
Daz DeBoer
21ecf4fc5b
Use latest dependency-graph plugin ( #489 )
2024-12-17 18:10:51 -07:00
Daz DeBoer
5c7e362ae3
Remove deprecation warning from init-script ( #491 )
2024-12-17 17:59:42 -07:00
Bot Githubaction
d0ca1a2b26
Update develocity-injection init script to v1.1
...
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection .
2024-12-11 10:21:37 -07:00
daz
e55599fc4d
Adapt build-result-capture script for GE plugin 3.17+
...
The build-result-capture.init.gradle script was making some assumptions about
extensions and plugin application that do not apply with the newest GE plugin.
Fixes #449
2024-11-17 07:26:28 -07:00
daz
579a013225
Capture config-cache hit in build results
2024-07-18 22:25:58 -06:00
daz
94355bbb2f
Split build-results and build-scan capture into separate files
2024-07-18 22:25:58 -06:00
daz
6d20c16462
Use settingsEvaluated
in preference to projectsEvaluated
in init-script
2024-07-18 22:25:53 -06:00
Daz DeBoer
b9abb7b195
Use latest dependency graph plugin ( #269 )
2024-06-27 19:42:01 -06:00
Bot Githubaction
db270b9337
Update develocity-injection init script to v1.0
...
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection .
2024-05-17 14:18:19 -06:00
Bot Githubaction
d91e2960eb
Update develocity-injection init script to v0.5.1
...
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection .
2024-05-17 11:10:27 -06:00
bigdaz
0498421560
Update develocity-injection init script to v0.5.0
2024-05-17 07:27:33 -06:00
bigdaz
edb13383f3
Update develocity-injection init script to v0.4.0
2024-05-15 16:56:41 -06:00
Alex Serbin
6ccde15122
Use logger in dependency graph init script ( #191 )
...
Dependency graph init script now uses Gradle logger to emit warning/info messages.
This allows these messages to be suppressed using `--quiet`.
2024-04-19 07:03:17 -06:00
daz
c93523a078
Fix Develocity deprecation warnings triggered by init-scripts
2024-04-08 10:58:12 -06:00
daz
0ac212a9d2
Make it possible to run more init-script tests on M1 Mac
...
Older TestKit on M1 Mac doesn't allow env vars to be passed, so we need to use
jvmArgs instead.
2024-04-08 09:46:48 -06:00
Daz DeBoer
a5a8ae9361
Bump to v1.3.0 of the dependency-graph plugin
2024-04-04 11:34:27 -06:00
daz
518b14b196
Switch from com.gradle.enterprise to com.gradle.develocity
2024-04-03 19:05:27 -06:00
Pavlo Shevchenko
5a171ce5b8
Inject Develocity plugin for versions 3.17 and above ( #62 )
...
To handle the rebranding of the GE plugin, this PR updates the inject-develocity init script
to apply the `com.gradle.develocity` plugin if `3.17+` version of the plugin is requested.
2024-04-03 14:47:50 -06:00
Iurii Ignatko
c276584302
Capture task input files when plugin not applied ( #77 )
...
This PR changes the behavior such that task input files are captured
when the environment variable is explicitly specified and for the cases
when the plugin is not applied.
---------
Co-authored-by: Alexis Tual <atual@gradle.com>
2024-03-25 16:34:45 +02:00
daz
7b589d9740
Apply plugin repository credentials for dependency graph plugin
2024-03-12 15:49:28 +13:00
Iurii Ignatko
e43d10f419
Add an ability to capture task input files ( #58 )
...
This PR adds an ability to enable/disable [capturing task input
files](https://docs.gradle.com/enterprise/gradle-plugin/#capturing_task_input_files )
in a build scan.
---------
Co-authored-by: Eric Haag <eah0592@gmail.com>
2024-03-06 17:53:10 +02:00
Iurii Ignatko
579fbbe722
Allow configuring credentials for custom Gradle plugin repository ( #61 )
2024-03-06 08:48:24 +02:00
Iurii Ignatko
f091a59e67
Change messages log level in init script
2024-03-01 12:00:19 +02:00
daz
2262487821
Use v1.2.2 of dep-graph plugin
2024-02-12 21:41:04 -07:00
daz
aaf44989e3
Use v1.2.1 of dep-graph plugin
2024-02-11 18:22:33 -07:00
daz
a97b588d8e
Bump to use v1.2.0 of the dep-graph plugin
2024-01-28 14:15:00 -07:00
daz
177cef6d02
Provide an override for the dependency-graph plugin version
2024-01-28 14:03:37 -07:00
daz
a628cf9f2e
Replace occurrances of gradle-build-action
...
- Mostly with `setup-gradle`
- Some with `gradle-actions`
2024-01-25 12:36:53 -07:00
daz
5e522253a6
Combine all sources into a sub-directory
2024-01-25 11:53:44 -07:00