Skip to content
Permalink
Browse files

Fix for JENKINS-11600, email-ext now queries getTimestamp and getComm…

…itId
  • Loading branch information...
Paul Tankard
Paul Tankard committed Apr 25, 2014
1 parent 5707a77 commit fda9b707c2fcc4afff0a37c6d83aa23451b6d3ca
Showing with 11 additions and 0 deletions.
  1. +11 −0 src/main/java/hudson/plugins/perforce/PerforceChangeLogEntry.java
@@ -65,9 +65,14 @@ public String getChangeNumber() {
}

//used for email-ext
@Deprecated
public String getRevision() {
return getChangeNumber();
}
//used for email-ext
public String getCommitId() {
return getChangeNumber();
}

@Exported
public String getChangeTime() {
@@ -76,9 +81,15 @@ public String getChangeTime() {
}

//used for email-ext
@Deprecated
public String getDate() {
return getChangeTime();
}
//used for email-ext
public long getTimestamp() {
return getChange().getDate().getTime();
}


/**
* {@inheritDoc}

0 comments on commit fda9b70

Please sign in to comment.
You can’t perform that action at this time.