Navigation Menu

Skip to content

Commit

Permalink
[JENKINS-2252] Enhance support for email-ext plugin by adding support…
Browse files Browse the repository at this point in the history
… for the %r pattern in ${CHANGES}
  • Loading branch information
davidmc24 committed Dec 4, 2011
1 parent e75bd4d commit 3dd018a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/hudson/plugins/mercurial/MercurialChangeSet.java
Expand Up @@ -82,6 +82,17 @@ public long getRev() {
return rev;
}

/**
* Gets the globally unique changeset ID. For general purpose use, use {@link #getNode()}. This method is intended
* for use via reflection by the email-ext plugin.
*/
public String getRevision() {
return node;
}

/**
* Returns the date of the changeset. Also used via reflection by the email-ext plugin.
*/
@Exported
public String getDate() {
return date;
Expand Down

0 comments on commit 3dd018a

Please sign in to comment.