lhotari opened a new pull request, #19133:
URL: https://github.com/apache/pulsar/pull/19133

   ### Motivation
   
   ASF Infra team together with Gradle Inc. has setup a dedicated Gradle 
Enterprise instance for Apache projects at https://ge.apache.org/ .
   
   Gradle Enterprise works for both Gradle builds and Maven builds. There's a 
Maven extension which provides the integration for Maven builds, 
https://docs.gradle.com/enterprise/maven-extension/ .
   
   You can find more information about the benefits of Gradle Enterprise on 
https://gradle.com . Gradle Enterprise is also for Maven builds!
   
   Here's an example of builds scans for all Maven builds that are run as part 
of Pulsar CI workflow: 
https://ge.apache.org/scans?search.names=Git%20commit%20id%20short&search.timeZoneId=Europe/Helsinki&search.values=db7ab997&selection.buildScanB=ohtx53k6ymsgc
   There are 69 maven builds that are run in total.
   
   The build scans are also linked from the GitHub Actions results page, for 
example 
https://github.com/apache/pulsar/actions/runs/3839199234#summary-10438505199 
shows this. 
   
   ### Modifications
   
   Add configuration for Gradle Enterprise which will be activated only for 
builds in branches on apache/pulsar when a secret called GE_ACCESS_TOKEN exists.
   A new environment variable called JOB_NAME is added so that the name of the 
GitHub Actions CI job can be passed on to Gradle Enterprise build scan values. 
GitHub Actions has a limitation that the job name isn't available as an 
environment variable.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. Please attach the local 
preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR 
description, or else your PR might not get merged. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to