Using the following groovy code:

      def thr = Thread.currentThread();
      def currentBuild = thr?.executable;
      def changes = currentBuild.getChangeSet();
      changes.getItems().each {
      	ChangeLogSet.Entry lastChange = (ChangeLogSet.Entry)it;
          lastChange.getTimestamp();
      }
      

      Produces a wrong timestamp (0).
      Reverting to git plugin 2.0.1 fixes the issue.

          [JENKINS-23791] Wrong timestamp retrieved from git ChangeSet

          Moosh Ben created issue -
          Moosh Ben made changes -
          Summary Original: Wrong timestamp retrieved from ChangeSet New: Wrong timestamp retrieved from git ChangeSet
          Moosh Ben made changes -
          Link New: This issue is related to JENKINS-21906 [ JENKINS-21906 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 156581 ] New: JNJira + In-Review [ 207853 ]

            ndeloof Nicolas De Loof
            mooshben Moosh Ben
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: