public class GerritTrigger.RunningJobs extends Object
Constructor and Description |
---|
RunningJobs() |
Modifier and Type | Method and Description |
---|---|
hudson.model.ParametersAction |
remove(com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event)
Removes any reference to the current build for this change.
|
void |
scheduled(com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event,
hudson.model.ParametersAction parameters,
String projectName)
Does the needful after a build has been scheduled.
|
public void scheduled(com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event, hudson.model.ParametersAction parameters, String projectName)
event
- the event triggering a new build.parameters
- the parameters for the new build, used to find it later.projectName
- the name of the current project for better logging.public hudson.model.ParametersAction remove(com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event)
event
- the event which started the build we want to remove.Copyright © 2016–2017. All rights reserved.