Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43563

Git plugin does not set user in pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • 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.

            Unassigned Unassigned
            chrylis Christopher Smith
            Votes:
            17 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated: