Package com.nirima.jenkins.plugins.docker

Examples of com.nirima.jenkins.plugins.docker.DockerSimpleTemplate


        String strResult = IOUtils.toString(result);
        LOGGER.info("Pull result = " + strResult);

        LOGGER.info("Starting container for image " + xImage );

        DockerTemplateBase template = new DockerSimpleTemplate(xImage,
                dnsString, xCommand,
                volumesString, volumesFrom, lxcConfString, xHostname, bindPorts, bindAllPorts, privileged);

        String containerId = template.provisionNew(client).getId();

        LOGGER.info("Started container " + containerId);
        getLaunchAction(build).started(client, containerId);
    }
View Full Code Here

TOP

Related Classes of com.nirima.jenkins.plugins.docker.DockerSimpleTemplate

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.