State of the change information for a given git commit
Type | Name and description |
---|---|
java.lang.String |
baseBranch The base branch for a pull request. |
java.lang.String |
branchName The branch name reported by the build. |
java.lang.String |
changeBranch The change branch for a pull request. |
boolean |
isPullRequest Is this change part of a pull request. |
java.lang.Integer |
pullRequestId Pull request ID |
Constructor and description |
---|
ChangeInformation
(java.lang.Object steps) Construct the class. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The base branch for a pull request.
If the PR is merging branch "test" into "master", this value will be "master".
This property will be null if isPullRequest is false.
The branch name reported by the build.
If it's a pull request, it will be PR-<id>.
The change branch for a pull request.
If the PR is merging branch "test" into "master", this value will be "test".
This property will be null if isPullRequest is false.
Is this change part of a pull request.
Pull request ID
Groovy Documentation