Package com.nirima.jenkins.plugins.docker.action

Examples of com.nirima.jenkins.plugins.docker.action.DockerLaunchAction


    public abstract void execute(AbstractBuild<?, ?> build) throws DockerException, IOException;

    protected DockerLaunchAction getLaunchAction(AbstractBuild<?, ?> build) {
        List<DockerLaunchAction> launchActionList = build.getActions(DockerLaunchAction.class);
        DockerLaunchAction launchAction;
        if( launchActionList.size() > 0 ) {
            launchAction = launchActionList.get(0);
        } else {
            launchAction = new DockerLaunchAction();
            build.addAction(launchAction);
        }
        return launchAction;
    }
View Full Code Here

TOP

Related Classes of com.nirima.jenkins.plugins.docker.action.DockerLaunchAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.