-
Bug
-
Resolution: Unresolved
-
Major
-
None
It's been noted in other issues (JENKINS-35230) that the Git plugin does not export its environment variables when used with a pipeline job. In addition, the plugin does not set user.name and user.email, as it does in traditional jobs, meaning that any attempts to commit to the repository from within a pipeline fail with "tell me who you are".
It would be useful to have the environment variables available, but even without them, the plugin should be able to set the Git config as it performs checkout.
[JENKINS-43563] Git plugin does not set user in pipeline
Assignee | Original: Mark Waite [ markewaite ] |
There is a global setting for user.name and user.email in the global settings for the git plugin. Have you defined a value there and still not had the user.name and user.mail set on the agents?