-
New Feature
-
Resolution: Won't Do
-
Major
-
None
Hello,
We have an issue internally that requires us to set the hash revision of a merge commit.
We found out that if we set the env variables GIT_AUTHOR_DATE and GIT_COMMITTER_DATE it will be possible. When we do this locally, it works. But when we try to do the same on Jenkins in a Pull Request build it doesn't work.
I've added the Jenkinsfile as attachment.
So it seems that the git plugin is ignoring the env variables when doing the automatic commit for the PR build. We also made sure that the env variables are set by priting them Can this be improved by letting the plugin read those two variables?
Thank you. If you need more information please let me know.