Skip to content

Commit

Permalink
Fix for JENKINS-11600, email-ext now queries getTimestamp and getComm…
Browse files Browse the repository at this point in the history
…itId
  • Loading branch information
Paul Tankard committed Apr 25, 2014
1 parent 5707a77 commit fda9b70
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/hudson/plugins/perforce/PerforceChangeLogEntry.java
Expand Up @@ -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() {
Expand All @@ -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}
Expand Down

0 comments on commit fda9b70

Please sign in to comment.