class GerritPipelineComment extends GerritComment
Gerrit revision that can be used to comment on a gerrit patchset
import org.wikimedia.integration.GerritReview
import org.wikimedia.integration.GerritPipelineComment
stage('comment') {
comment = new GerritPipelineComment(
jobName: xx,
buildNumber: xx,
jobStatus: xx,
image: xx,
tags: xx
)
GerritReview.post(this, comment)
Type | Name and description |
---|---|
java.lang.String |
buildNumber Jenkins build number |
java.lang.String |
image Image in the docker registry |
java.lang.String |
jobName Name of the job |
java.lang.String |
jobStatus Build status |
java.util.List<java.lang.String> |
tags Image tags |
Constructor and description |
---|
GerritPipelineComment
(java.util.Map settings = [:]) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
formatDashboard() |
|
java.lang.String |
formatImage() |
|
java.lang.String |
formatMessage() Format final message output |
|
java.lang.String |
formatResult() |
|
java.lang.String |
formatTags() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Groovy Documentation