public class JenkinsTriggerJob extends Object implements TriggerJob
Constructor and Description |
---|
JenkinsTriggerJob(hudson.model.Job job) |
Modifier and Type | Method and Description |
---|---|
String |
getFullName()
Full name of the job
|
TriggerRun |
getLastBuild()
Gets the last build for this job
|
void |
trigger(OntrackTriggerCause cause,
List<hudson.model.ParameterValue> parameters)
Triggers the job with a cause and a list of parameters.
|
public String getFullName()
TriggerJob
getFullName
in interface TriggerJob
@CheckForNull public TriggerRun getLastBuild()
TriggerJob
getLastBuild
in interface TriggerJob
public void trigger(OntrackTriggerCause cause, List<hudson.model.ParameterValue> parameters)
TriggerJob
trigger
in interface TriggerJob
cause
- Cause to useparameters
- Parameters for the jobCopyright © 2016–2023. All rights reserved.