Open
Description
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:
providers.environmentVariable("GITHUB_ACTOR").orNull?.let { System.setProperty("user.name", it) }
for Jenkins: (with https://plugins.jenkins.io/build-user-vars-plugin/)
providers.environmentVariable("BUILD_USER_ID").orNull?.let { System.setProperty("user.name", it) }
Metadata
Metadata
Assignees
Labels
No labels