Class GitHubCommentPublisherDslContext
- java.lang.Object
-
- org.jenkinsci.plugins.github.pullrequest.dsl.context.publishers.GitHubCommentPublisherDslContext
-
- All Implemented Interfaces:
javaposse.jobdsl.dsl.Context
public class GitHubCommentPublisherDslContext extends Object implements javaposse.jobdsl.dsl.Context
-
-
Field Summary
Fields Modifier and Type Field Description static GitHubPRCommentPublisher
DEFAULT_PUBLISHER
-
Constructor Summary
Constructors Constructor Description GitHubCommentPublisherDslContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commentErrorIsFailure()
void
commentErrorIsUnstable()
GitHubPRCommentPublisher
getPublisher()
void
message(String comment)
void
onlyFailedBuilds()
void
onlySuccessfulBuilds()
void
onlyUnstableBuilds()
-
-
-
Field Detail
-
DEFAULT_PUBLISHER
public static final GitHubPRCommentPublisher DEFAULT_PUBLISHER
-
-
Method Detail
-
message
public void message(String comment)
-
getPublisher
public GitHubPRCommentPublisher getPublisher()
-
commentErrorIsFailure
public void commentErrorIsFailure()
-
commentErrorIsUnstable
public void commentErrorIsUnstable()
-
onlyFailedBuilds
public void onlyFailedBuilds()
-
onlySuccessfulBuilds
public void onlySuccessfulBuilds()
-
onlyUnstableBuilds
public void onlyUnstableBuilds()
-
-