public class OntrackTrigger
extends hudson.triggers.Trigger<hudson.model.Job>
Modifier and Type | Class and Description |
---|---|
static class |
OntrackTrigger.DescriptorImpl |
static class |
OntrackTrigger.OntrackTriggerCause
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static String |
FAILURE |
static String |
SUCCESS |
static String |
UNSTABLE |
Constructor and Description |
---|
OntrackTrigger(String spec,
String project,
String branch,
String promotion,
String parameterName,
String minimumResult)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBranch() |
List<String> |
getChoices() |
String |
getMinimumResult() |
String |
getParameterName() |
String |
getProject() |
String |
getPromotion() |
void |
run() |
public static final String SUCCESS
public static final String FAILURE
public static final String UNSTABLE
@DataBoundConstructor public OntrackTrigger(String spec, String project, String branch, String promotion, String parameterName, String minimumResult) throws antlr.ANTLRException
spec
- CRON specificationproject
- Ontrack projectbranch
- Ontrack branchpromotion
- Ontrack promotionparameterName
- Name of the parameter which contains the name of the buildminimumResult
- Minimum Result of the previous buildantlr.ANTLRException
- If CRON expression is not correctpublic String getProject()
public String getBranch()
public String getPromotion()
public String getParameterName()
public String getMinimumResult()
public void run()
run
in class hudson.triggers.Trigger<hudson.model.Job>
Copyright © 2016–2023. All rights reserved.