public class DockerNodeStep
extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
Used like:
dockerNode(image:"cloudbees/java-tools", sideContainers: ["selenium/standalone-firefox"]) { // execute some stuff inside this container }
Modifier and Type | Class and Description |
---|---|
static class |
DockerNodeStep.DescriptorImpl |
Constructor and Description |
---|
DockerNodeStep(String image) |
Modifier and Type | Method and Description |
---|---|
String |
getImage() |
List<String> |
getSideContainers() |
boolean |
getSocket() |
void |
setSideContainers(List<String> sideContainers) |
void |
setSocket(boolean socket) |
@DataBoundConstructor public DockerNodeStep(String image)
@CheckForNull public String getImage()
public boolean getSocket()
@DataBoundSetter public void setSocket(boolean socket)
Copyright © 2016–2017. All rights reserved.