@Extension(optional=true)
public class OntrackTriggerContextExtensionPoint
extends javaposse.jobdsl.plugin.ContextExtensionPoint
| Constructor and Description |
|---|
OntrackTriggerContextExtensionPoint() |
| Modifier and Type | Method and Description |
|---|---|
OntrackTrigger |
ontrackTrigger(String spec,
String project,
String branch,
String promotion)
Trigger with default parameter name
|
OntrackTrigger |
ontrackTrigger(String spec,
String project,
String branch,
String promotion,
String parameterName)
Trigger
|
OntrackTrigger |
ontrackTrigger(String spec,
String project,
String branch,
String promotion,
String parameterName,
String minimumResult)
Trigger
|
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.class) public OntrackTrigger ontrackTrigger(String spec, String project, String branch, String promotion, String parameterName, String minimumResult) throws antlr.ANTLRException
spec - Trigger specproject - Name of the projectbranch - Name of the branchpromotion - Name of the promotionparameterName - Name of the parameter that will contain the build nameminimumResult - Jenkins result to check in the previous buildantlr.ANTLRException - If the cron expression cannot be parsed@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.class) public OntrackTrigger ontrackTrigger(String spec, String project, String branch, String promotion, String parameterName) throws antlr.ANTLRException
spec - Trigger specproject - Name of the projectbranch - Name of the branchpromotion - Name of the promotionparameterName - Name of the parameter that will contain the build nameantlr.ANTLRException - If the cron expression cannot be parsed@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.class) public OntrackTrigger ontrackTrigger(String spec, String project, String branch, String promotion) throws antlr.ANTLRException
spec - Trigger specproject - Name of the projectbranch - Name of the branchpromotion - Name of the promotionantlr.ANTLRException - If the cron expression cannot be parsedCopyright © 2016–2023. All rights reserved.