public class WalkerStepExecution
extends org.jenkinsci.plugins.workflow.steps.StepExecution
Constructor and Description |
---|
WalkerStepExecution() |
Modifier and Type | Method and Description |
---|---|
Set<hudson.model.AbstractProject> |
createProjectList(hudson.maven.MavenModuleSet rootProject)
Create a list of dependent projects, first element is in the bottom of dependency graph
|
protected String |
generateActionScript(Set<hudson.model.AbstractProject> projects) |
String |
replaceJobConstants(hudson.model.AbstractProject project,
String action)
Function generates a project-specific script from generic by replacing all matches of constants:
1.
|
boolean |
start() |
void |
stop(Throwable cause) |
public boolean start() throws Exception
start
in class org.jenkinsci.plugins.workflow.steps.StepExecution
Exception
public void stop(@Nonnull Throwable cause) throws Exception
stop
in class org.jenkinsci.plugins.workflow.steps.StepExecution
Exception
protected String generateActionScript(Set<hudson.model.AbstractProject> projects)
public String replaceJobConstants(hudson.model.AbstractProject project, String action)
project
- where to get the values fromaction
- generic scriptpublic Set<hudson.model.AbstractProject> createProjectList(hudson.maven.MavenModuleSet rootProject)
rootProject
- top projectCopyright © 2016–2017. All rights reserved.