You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Gradle.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -109,13 +109,13 @@ To get the most out of the experiments and also when building with Develocity du
109
109
110
110
You can find a complete example of how to apply the Common Custom User Data Gradle plugin to your build [here](https://github.com/gradle/develocity-build-config-samples/tree/main/common-develocity-gradle-configuration-groovy/settings.gradle) for Groovy DSL and [here](https://github.com/gradle/develocity-build-config-samples/blob/main/common-develocity-gradle-configuration-kotlin/settings.gradle.kts) for Kotlin DSL.
111
111
112
-
## Authenticating with Gradle Enterprise
112
+
## Authenticating with Develocity
113
113
114
-
Some scripts fetch data from build scans that were published as part of running an experiment. The build scan data is fetched by leveraging the [Develocity API](https://docs.gradle.com/enterprise/api-manual/). It is not strictly necessary that you have permission to call these APIs to execute a script successfully, but the summary provided once the script has finished running its experiment will be more comprehensive if the build scan data is accessible.
114
+
Some scripts fetch data from build scans that were published as part of running an experiment. The build scan data is fetched by leveraging the [Develocity API](https://docs.gradle.com/develocity/api-manual/). It is not strictly necessary that you have permission to call these APIs to execute a script successfully, but the summary provided once the script has finished running its experiment will be more comprehensive if the build scan data is accessible.
115
115
116
-
You can check your granted permissions by navigating in the browser to the 'My Settings' section from the user menu of your Develocity UI. You need the 'Access build data via the API' permission. Additionally, the script needs an access key to authenticate with the APIs. See [Authenticating with Develocity](https://docs.gradle.com/enterprise/gradle-plugin/#authenticating) for details on how to create an access key and storing it locally.
116
+
You can check your granted permissions by navigating in the browser to the 'My Settings' section from the user menu of your Develocity UI. You need the 'Access build data via the API' permission. Additionally, the script needs an access key to authenticate with the APIs. See [Authenticating with Develocity](https://docs.gradle.com/develocity/gradle-plugin/current/#authenticating) for details on how to create an access key and storing it locally.
117
117
118
-
By default, the scripts fetching build scan data try to find the access key in the `enterprise/keys.properties` file within the Gradle user home directory (`~/.gradle` by default). Alternatively, the access key can be specified via the `GRADLE_ENTERPRISE_ACCESS_KEY` environment variable. You can also authenticate with the APIs using username and password instead by setting the `GRADLE_ENTERPRISE_USERNAME` and `GRADLE_ENTERPRISE_PASSWORD` environment variables.
118
+
By default, the scripts fetching build scan data try to find the access key in the `develocity/keys.properties` file within the Gradle user home directory (`~/.gradle` by default). Alternatively, the access key can be specified via the `DEVELOCITY_ACCESS_KEY` environment variable. You can also authenticate with the APIs using username and password instead by setting the `DEVELOCITY_USERNAME` and `DEVELOCITY_PASSWORD` environment variables.
119
119
120
120
## Configuring the network settings to connect to Develocity
121
121
@@ -140,7 +140,7 @@ The scripts that fetch build scan data expect some of it to be present as custom
140
140
## Redirecting build scan publishing
141
141
142
142
The scripts that run one or more builds locally can be configured to publish build scans to a different
143
-
Develocity server than the one that the builds point to by passing the `-s` or `--gradle-enterprise-server`
143
+
Develocity server than the one that the builds point to by passing the `-s` or `--develocity-server`
144
144
command line argument. In the example below, the script will configure the local builds to publish their build scans
145
145
to develocity.example.io regardless of what server is configured in the build.
146
146
@@ -151,7 +151,7 @@ to develocity.example.io regardless of what server is configured in the build.
151
151
## Instrumenting the build with Develocity
152
152
153
153
The scripts that run one or more builds locally can be configured to connect the builds to a given Develocity
154
-
server in case the builds are not already connected to Develocity by passing the `-e` or `--enable-gradle-enterprise`
154
+
server in case the builds are not already connected to Develocity by passing the `-e` or `--enable-develocity`
155
155
command line argument. In the example below, the script will configure the non-instrumented builds to connect to the
Copy file name to clipboardExpand all lines: Maven.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -107,13 +107,13 @@ To get the most out of the experiments and also when building with Develocity du
107
107
108
108
You can find a complete example of how to apply the Common Custom User Data Maven extension to your build [here](https://github.com/gradle/develocity-build-config-samples/blob/main/common-develocity-maven-configuration/.mvn/extensions.xml).
109
109
110
-
## Authenticating with Gradle Enterprise
110
+
## Authenticating with Develocity
111
111
112
-
Some scripts fetch data from build scans that were published as part of running an experiment. The build scan data is fetched by leveraging the [Develocity API](https://docs.gradle.com/enterprise/api-manual/). It is not strictly necessary that you have permission to call these APIs to execute a script successfully, but the summary provided once the script has finished running its experiment will be more comprehensive if the build scan data is accessible.
112
+
Some scripts fetch data from build scans that were published as part of running an experiment. The build scan data is fetched by leveraging the [Develocity API](https://docs.gradle.com/develocity/api-manual/). It is not strictly necessary that you have permission to call these APIs to execute a script successfully, but the summary provided once the script has finished running its experiment will be more comprehensive if the build scan data is accessible.
113
113
114
-
You can check your granted permissions by navigating in the browser to the 'My Settings' section from the user menu of your Develocity UI. You need the 'Access build data via the API' permission. Additionally, the script needs an access key to authenticate with the APIs. See [Authenticating with Develocity](https://docs.gradle.com/enterprise/maven-extension/#authenticating_with_gradle_enterprise) for details on how to create an access key and storing it locally.
114
+
You can check your granted permissions by navigating in the browser to the 'My Settings' section from the user menu of your Develocity UI. You need the 'Access build data via the API' permission. Additionally, the script needs an access key to authenticate with the APIs. See [Authenticating with Develocity](https://docs.gradle.com/develocity/maven-extension/current/#authenticating_with_develocity) for details on how to create an access key and storing it locally.
115
115
116
-
By default, the scripts fetching build scan data try to find the access key in the `enterprise/keys.properties` file within the Gradle user home directory (`~/.gradle` by default). Alternatively, the access key can be specified via the `GRADLE_ENTERPRISE_ACCESS_KEY` environment variable. You can also authenticate with the APIs using username and password instead by setting the `GRADLE_ENTERPRISE_USERNAME` and `GRADLE_ENTERPRISE_PASSWORD` environment variables.
116
+
By default, the scripts fetching build scan data try to find the access key in the `.m2/.develocity/keys.properties` file within the user's home directory. Alternatively, the access key can be specified via the `DEVELOCITY_ACCESS_KEY` environment variable. You can also authenticate with the APIs using username and password instead by setting the `DEVELOCITY_USERNAME` and `DEVELOCITY_PASSWORD` environment variables.
117
117
118
118
## Configuring the network settings to connect to Develocity
119
119
@@ -138,7 +138,7 @@ The scripts that fetch build scan data expect some of it to be present as custom
138
138
## Redirecting build scan publishing
139
139
140
140
The scripts that run one or more builds locally can be configured to publish build scans to a different
141
-
Develocity server than the one that the builds point to by passing the `-s` or `--gradle-enterprise-server`
141
+
Develocity server than the one that the builds point to by passing the `-s` or `--develocity-server`
142
142
command line argument. In the example below, the script will configure the local builds to publish their build scans
143
143
to develocity.example.io regardless of what server is configured in the build.
144
144
@@ -149,7 +149,7 @@ to develocity.example.io regardless of what server is configured in the build.
149
149
## Instrumenting the build with Develocity
150
150
151
151
The scripts that run one or more builds locally can be configured to connect the builds to a given Develocity
152
-
server in case the builds are not already connected to Develocity by passing the `-e` or `--enable-gradle-enterprise`
152
+
server in case the builds are not already connected to Develocity by passing the `-e` or `--enable-develocity`
153
153
command line argument. In the example below, the script will configure the non-instrumented builds to connect to the
Copy file name to clipboardExpand all lines: components/configure-gradle-enterprise-maven-extension/src/main/java/com/gradle/ConfigureDevelocityAdaptor.java
Copy file name to clipboardExpand all lines: components/scripts/gradle/05-validate-remote-build-caching-ci-local.sh
+6-6
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,7 @@ validate_required_args() {
149
149
fi
150
150
151
151
if [[ "${enable_ge}"=="on"&&-z"${ge_server}" ]];then
152
-
_PRINT_HELP=yes die "ERROR: Missing required argument when enabling Gradle Enterprise on a project not already connected: --gradle-enterprise-server""${INVALID_INPUT}"
152
+
_PRINT_HELP=yes die "ERROR: Missing required argument when enabling Develocity on a project not already connected: --develocity-server""${INVALID_INPUT}"
153
153
fi
154
154
}
155
155
@@ -309,8 +309,8 @@ Now that the build on CI has finished successfully, some of the build scan
309
309
data will be fetched from the provided build scan to assist you in your
310
310
investigation.
311
311
312
-
The build scan data will be fetched via the Gradle Enterprise API, as explained
313
-
earlier in the preparations section of this experiment.
312
+
The build scan data will be fetched via the Develocity API, as explained earlier
313
+
in the preparations section of this experiment.
314
314
315
315
Some of the fetched build scan data is expected to be present as custom values.
316
316
By default, this experiment assumes that these custom values have been created
Copy file name to clipboardExpand all lines: components/scripts/lib/config.sh
+1-1
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ validate_required_args() {
97
97
fi
98
98
99
99
if [[ "${enable_ge}"=="on"&&-z"${ge_server}" ]];then
100
-
_PRINT_HELP=yes die "ERROR: Missing required argument when enabling Gradle Enterprise on a project not already connected: --gradle-enterprise-server""${INVALID_INPUT}"
100
+
_PRINT_HELP=yes die "ERROR: Missing required argument when enabling Develocity on a project not already connected: --develocity-server""${INVALID_INPUT}"
0 commit comments