Skip to content

Conversation

ribafish
Copy link
Contributor

This PR will enable you to publish Build Scans to develocity-staging.eclipse.org as explained in the issue #1088.

Description

This PR publishes a build scan for every CI build and for every local build from an authenticated Eclipse committer. The build will not fail if publishing fails. Local and remote caching was left disabled on this PR by design so that the build is not affected by this change.

The build scans of the Eclipse Open VSX server project are published to the Develocity instance at develocity-staging.eclipse.org, hosted by the Eclipse Foundation and run in partnership between the Eclipse and Gradle. This Develocity instance has all features and extensions enabled and is freely available for use by the Eclipse Open VSX project and all other Eclipse projects.

On this Develocity instance, the Eclipse Open VSX server will have access not only to all of the published build scans but also to other aggregate data features such as:

  • Dashboards to view all historical build scans, along with performance trends over time
  • Build failure analytics for enhanced investigation and diagnosis of build failures
  • Test failure analytics to better understand trends and causes around slow, failing, and flaky tests

This will also enable you to (optionally) use build time optimization features, such as (remote) build caching and Predictive Test Selection.

More information can be read in the Eclipse announcement.

IMPORTANT

To get scans publishing on CI, a helpdesk ticket needs to be opened in order for those credentials to be created, as explained in the initiative documentation.

Please let me know if there are any questions about the value of Develocity or the changes in this pull request and I’d be happy to address them.

@ribafish ribafish mentioned this pull request Jan 28, 2025
@amvanbaren
Copy link
Contributor

@ribafish I've created https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5636

@ribafish ribafish marked this pull request as ready for review February 17, 2025 16:33
@ribafish
Copy link
Contributor Author

@amvanbaren, the helpdesk issue was resolved and CI creds created, so this PR is now ready to be reviewed and merged. Just note that since this PR is coming from a fork, the secrets can't be accessed here, so any builds from this PR will not be connected yet.

- Added Develocity configuration to settings.gradle
- Added the CI (GHA) configuration for Develocity

Signed-off-by: Gasper Kojek <gkojek@gradle.com>
@amvanbaren amvanbaren linked an issue Feb 20, 2025 that may be closed by this pull request
@amvanbaren amvanbaren self-assigned this Feb 20, 2025
@amvanbaren amvanbaren merged commit 6947c4c into eclipse:master Feb 20, 2025
1 of 2 checks passed
@amvanbaren
Copy link
Contributor

@ribafish
Copy link
Contributor Author

@ribafish The build also fails on master: https://github.com/eclipse/openvsx/actions/runs/13437413452/job/37542987642

Fixed in the following PR #1124

@ribafish ribafish deleted the feature/develocity branch February 21, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Develocity integration
2 participants