public class ReleaseJobAction extends Object implements hudson.model.Action
| Modifier and Type | Class and Description |
|---|---|
static class |
ReleaseJobAction.Factory
Dynamic action factory which determines whether to add the action to a
build.
|
| Modifier and Type | Field and Description |
|---|---|
org.jenkinsci.plugins.workflow.job.WorkflowRun |
target |
| Constructor and Description |
|---|
ReleaseJobAction(org.jenkinsci.plugins.workflow.job.WorkflowRun job)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
doRelease()
Releases the build referenced by the action to run now.
|
String |
getDisplayName() |
String |
getIconFileName() |
String |
getUrlName() |
public ReleaseJobAction(org.jenkinsci.plugins.workflow.job.WorkflowRun job)
job - the build the action is for.public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic void doRelease()
Copyright © 2016–2020. All rights reserved.