I believe you're making syntactic mistakes rather than missing the values of GIT_COMMITTER_NAME and GIT_AUTHOR_NAME. Refer to the example declarative pipeline job in my JENKINS-52511 branch for working examples.
The GIT_COMMITTER_NAME and GIT_AUTHOR_NAME in that example show that JENKINS-45489 is still an open bug. That bug reports that the value assigned to GIT_COMMITTER_NAME and GIT_AUTHOR_NAME is incorrect if a Pipeline shared library was loaded along with the working repository. The value assigned to GIT_COMMIT is the SHA-1 of the commit which declarative pipeline used in its implicit checkout. Unfortunately, the value assigned to GIT_AUTHOR_NAME and GIT_COMMITTER_NAME is from the most recent commit to the Pipeline shared library.
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.