public static interface SimpleBuildStep.LastBuildAction extends Action
Run.addAction(hudson.model.Action)
) which should imply a transient project
action (Actionable.getActions()
) when present on the Job.getLastSuccessfulBuild()
.
This can serve as a substitute for BuildStep.getProjectActions(hudson.model.AbstractProject<?, ?>)
which does not assume that the project
can enumerate the steps it would run before they are actually run.
(Use InvisibleAction
as a base class if you do not need to show anything in the build itself.)Modifier and Type | Method and Description |
---|---|
Collection<? extends Action> |
getProjectActions()
Optionally add some actions to the project owning this build.
|
getDisplayName, getIconFileName, getUrlName
Collection<? extends Action> getProjectActions()
Job
, implement RunAction2
and use Run.getParent()
Copyright © 2004–2021. All rights reserved.