| Fields inherited from class | Fields |
|---|---|
class AbstractScmHandler |
env, logger, project |
| Constructor and description |
|---|
GerritHandler
(Project project, java.util.Map<java.lang.String, java.lang.String> environment) |
| Type | Name and description |
|---|---|
java.lang.String |
annotatedVersion(java.lang.String baseVersion)Return a String based on the environment variables provided with
Gerrit changeset information |
static AbstractScmHandler |
build(Project project, java.util.Map<java.lang.String, java.lang.String> env) |
java.lang.String |
getRevision()Return the value of GERRIT_PATCHSET_REVISION if present |
boolean |
isAvailable()Will indicate that this handler is available if we're executing in an environment where a number of GERRIT_* environment variables are present. |
| Methods inherited from class | Name |
|---|---|
class AbstractScmHandler |
annotatedVersion, build, getEnvironment, getRevision, isAvailable |
Return a String based on the environment variables provided with
Gerrit changeset information
Return the value of GERRIT_PATCHSET_REVISION if present
Will indicate that this handler is available if we're executing in an environment where a number of GERRIT_* environment variables are present. Such as those provided by the Gerrit Trigger plugin for Jenkins