[
https://issues.jenkins-ci.org/browse/JENKINS-12982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
cjo9900 resolved JENKINS-12982.
-------------------------------
Assignee: cjo9900 (was: bap)
Resolution: Not A Defect
Closed as not required Launcher can be created from build and listener.
> Run conditions should be passed Launcher object
> -----------------------------------------------
>
> Key: JENKINS-12982
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12982
> Project: Jenkins
> Issue Type: Improvement
> Components: run-condition
> Reporter: cjo9900
> Assignee: cjo9900
>
> Run conditions should be passed Launcher object so that the conditions may be
> allowed to run scripts within the build, e.g call a Shell or groovy script.
> Current implementations are
> public abstract boolean runPrebuild(final AbstractBuild<?, ?> build, final
> BuildListener listener) throws Exception;
> public abstract boolean runPerform(final AbstractBuild<?, ?> build, final
> BuildListener listener) throws Exception;
> These should be extended to
> (final AbstractBuild<?, ?> build, final BuildListener listener, final
> Launcher launcher)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira