Wrong timestamp retrieved from git ChangeSet

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Nicolas De Loof
            Reporter:
            Moosh Ben
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: