@Extension(optional=true)
public class OntrackPublisherContextExtensionPoint
extends javaposse.jobdsl.plugin.ContextExtensionPoint
Constructor and Description |
---|
OntrackPublisherContextExtensionPoint() |
Modifier and Type | Method and Description |
---|---|
OntrackBuildNotifier |
ontrackBuild(String project,
String branch,
String build)
Creation of a build
|
OntrackBuildNotifier |
ontrackBuild(String project,
String branch,
String build,
boolean ignoreFailure)
Creation of a build with ignore failure option
|
OntrackBuildNotifier |
ontrackBuild(String project,
String branch,
String build,
boolean ignoreFailure,
boolean runInfo)
Creation of a build with ignore failure and run info option
|
OntrackDSLNotifier |
ontrackDsl(Runnable closure)
DSL
|
OntrackPromotedRunNotifier |
ontrackPromotion(String project,
String branch,
String build,
String promotionLevel)
Promotion
|
OntrackPromotedRunNotifier |
ontrackPromotion(String project,
String branch,
String build,
String promotionLevel,
boolean ignoreFailure)
Promotion with ignoring of the failure option
|
OntrackValidationRunNotifier |
ontrackValidation(String project,
String branch,
String build,
String validationStamp)
Validation
|
OntrackValidationRunNotifier |
ontrackValidation(String project,
String branch,
String build,
String validationStamp,
boolean ignoreFailure)
Validation with ignoring of the failure option
|
OntrackValidationRunNotifier |
ontrackValidation(String project,
String branch,
String build,
String validationStamp,
boolean ignoreFailure,
boolean runInfo)
Validation with ignoring of the failure and run info options
|
public OntrackPublisherContextExtensionPoint()
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackBuildNotifier ontrackBuild(String project, String branch, String build)
project
- Name of the projectbranch
- Name of the branchbuild
- Name of the build@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackBuildNotifier ontrackBuild(String project, String branch, String build, boolean ignoreFailure)
project
- Name of the projectbranch
- Name of the branchbuild
- Name of the buildignoreFailure
- If failures must be ignored@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackBuildNotifier ontrackBuild(String project, String branch, String build, boolean ignoreFailure, boolean runInfo)
project
- Name of the projectbranch
- Name of the branchbuild
- Name of the buildignoreFailure
- If failures must be ignoredrunInfo
- If run info must be collected@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackPromotedRunNotifier ontrackPromotion(String project, String branch, String build, String promotionLevel)
project
- Name of the projectbranch
- Name of the branchbuild
- Name of the buildpromotionLevel
- Name of the promotion level@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackPromotedRunNotifier ontrackPromotion(String project, String branch, String build, String promotionLevel, boolean ignoreFailure)
project
- Name of the projectbranch
- Name of the branchbuild
- Name of the buildpromotionLevel
- Name of the promotion levelignoreFailure
- If failures must be ignored@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackValidationRunNotifier ontrackValidation(String project, String branch, String build, String validationStamp)
project
- Name of the projectbranch
- Name of the branchbuild
- Name of the buildvalidationStamp
- Name of the validation stamp@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackValidationRunNotifier ontrackValidation(String project, String branch, String build, String validationStamp, boolean ignoreFailure)
project
- Name of the projectbranch
- Name of the branchbuild
- Name of the buildvalidationStamp
- Name of the validation stampignoreFailure
- If failures must be ignored@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackValidationRunNotifier ontrackValidation(String project, String branch, String build, String validationStamp, boolean ignoreFailure, boolean runInfo)
project
- Name of the projectbranch
- Name of the branchbuild
- Name of the buildvalidationStamp
- Name of the validation stampignoreFailure
- If failures must be ignoredrunInfo
- If run info must be collected@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public OntrackDSLNotifier ontrackDsl(Runnable closure)
closure
- Closure running in the context of OntrackDslContext
Copyright © 2016–2023. All rights reserved.