NumberFormatException is fixed in 2.0.4 but entry change date is not retrieved.

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.

Change By: Moosh Ben (01/Apr/14 6:38 AM)
Resolution: Fixed
Status: Resolved Reopened
Assignee: Nicolas De Loof
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to