-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Capture the "agent" that triggers the build as the user #32
Comments
You can change the user ID using the obfuscation api on the username field. https://docs.gradle.com/enterprise/gradle-plugin/#obfuscating_identifying_data I'm not sure if changing the agent is the behavior we want for all builds but we appreciate the suggestion and are considering it. We encourage you to fork the common custom user data plugin and customize it for your needs. Here is an example of setting the username based on the
|
@yogurtearl I suggest to proceed as following:
|
If I need this for an OSS project, and want to use it across a few different projects, would you suggest just make an OSS fork, and publish it under something like |
|
Would be nice if they user name in gradle enterprise was the person that triggered the build.
Looks like gradle enterprise reads it from "user.name", so you could set that property.
Else would be nice if gradle enterprise provided a dsl to set it.
Either way, this plugin could set the user name on various CI systems:
for GH actions:
for Jenkins: (with https://plugins.jenkins.io/build-user-vars-plugin/)
The text was updated successfully, but these errors were encountered: