GitLab JSON Object

Replace this template with your information

Describe your question in as much detail as possible:

  • What are you seeing, and how does it differ from what you expect to see?
  • Consider including screenshots, error messages, and/or other helpful visuals
  • What version are you on (Hint: /help) ? and are you using self-managed or gitlab.com?
  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?

Thanks for taking the time to be thorough in your request, it really helps! :blush:

Hi,

I am using gitlab-ce (12.9.2 (ac5568eb5d8)), i beleive i may have stumbled upon a bug where the JSON object that is generated from Jenkins Integration (note, this was working before) is not filling the user_email section.

At first i though this was the comapny config, however i have replicated the same thing on a local VM network:

WebHook called with url: /project/test_pipe

Apr 17, 2020 12:50:59 PM FINE com.dabsquared.gitlabjenkins.webhook.build.PushBuildAction

Push: {
  "object_kind" : "push",
  "event_name" : "push",
  "before" : "22d26cd47f8fc6e604cc8bb0d008360b476b0247",
  "after" : "3e9fd34dd339ac67a6466b0c4b2a8bdfbd1a1cb7",
  "ref" : "refs/heads/master",
  "checkout_sha" : "3e9fd34dd339ac67a6466b0c4b2a8bdfbd1a1cb7",
  "message" : null,
  "user_id" : 1,
  "user_name" : "Administrator",
  "user_username" : "root",
  "user_email" : "",
  "user_avatar" : "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
  "project_id" : 1,

This in turn is having a knock-on affect to the GitLab Plugin (Jenkins).

Open issue: https://github.com/jenkinsci/gitlab-plugin/issues/1005

Can any please advise?