Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- apply(Statement, Description) - Method in class org.jenkinsci.test.acceptance.docker.DockerClassRule
- apply(Statement, Description) - Method in class org.jenkinsci.test.acceptance.docker.DockerRule
- asByteArray() - Method in class org.jenkinsci.test.acceptance.docker.Resource
- asFile() - Method in class org.jenkinsci.test.acceptance.docker.Resource
- asInputStream() - Method in class org.jenkinsci.test.acceptance.docker.Resource
- asReader() - Method in class org.jenkinsci.test.acceptance.docker.Resource
- assertRunning() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
- asText() - Method in class org.jenkinsci.test.acceptance.docker.Resource
B
- bindIp() - Element in annotation type org.jenkinsci.test.acceptance.docker.DockerFixture
-
Deprecated.
- build(Class<? extends DockerContainer>) - Method in class org.jenkinsci.test.acceptance.docker.Docker
- build(Class<? extends DockerContainer>, File) - Method in class org.jenkinsci.test.acceptance.docker.Docker
C
- classLoader - Variable in class org.jenkinsci.test.acceptance.docker.Docker
- close() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
Stops and remove any trace of the container
- cmd(String...) - Static method in class org.jenkinsci.test.acceptance.docker.Docker
- cp(String, String) - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
Deprecated.do not call inside container. File ownership does not work the same way for copying from one docker container to another, see https://forums.docker.com/t/can-docker-cp-set-user-id-and-group/21562
- create() - Method in class org.jenkinsci.test.acceptance.docker.DockerClassRule
D
- DEFAULT_DOCKER_HOST - Static variable in class org.jenkinsci.test.acceptance.docker.DockerImage
- DEFAULT_DOCKER_IP - Static variable in annotation type org.jenkinsci.test.acceptance.docker.DockerFixture
- Docker - Class in org.jenkinsci.test.acceptance.docker
-
Entry point to the docker support.
- Docker() - Constructor for class org.jenkinsci.test.acceptance.docker.Docker
- DockerClassRule<T extends DockerContainer> - Class in org.jenkinsci.test.acceptance.docker
-
Builds a Docker image before running tests, then starts containers on demand.
- DockerClassRule(Class<T>) - Constructor for class org.jenkinsci.test.acceptance.docker.DockerClassRule
- DockerContainer - Class in org.jenkinsci.test.acceptance.docker
-
Running container, a virtual machine.
- DockerContainer() - Constructor for class org.jenkinsci.test.acceptance.docker.DockerContainer
- dockerfileFolder() - Element in annotation type org.jenkinsci.test.acceptance.docker.DockerFixture
-
Path of Dockerfile file.
- DockerFixture - Annotation Type in org.jenkinsci.test.acceptance.docker
-
Annotates
DockerContainer
subtype that exposes fixture-specific methods. - DockerImage - Class in org.jenkinsci.test.acceptance.docker
-
Container image, a template to launch virtual machines from.
- DockerImage(String) - Constructor for class org.jenkinsci.test.acceptance.docker.DockerImage
- DockerImage.Starter<T extends DockerContainer> - Class in org.jenkinsci.test.acceptance.docker
- DockerRule<T extends DockerContainer> - Class in org.jenkinsci.test.acceptance.docker
-
Starts a Docker container for a test.
- DockerRule(Class<T>) - Constructor for class org.jenkinsci.test.acceptance.docker.DockerRule
- DynamicDockerContainer - Class in org.jenkinsci.test.acceptance.docker
-
A DockerContainer whose
Dockerfile
is not static but requires some knowledge of the environment it is going to run in. - DynamicDockerContainer() - Constructor for class org.jenkinsci.test.acceptance.docker.DynamicDockerContainer
F
- findFixture(String) - Method in class org.jenkinsci.test.acceptance.docker.Docker
-
Finds a fixture class that has the specified ID.
G
- get() - Method in class org.jenkinsci.test.acceptance.docker.DockerRule
- getCid() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
- getDockerHost() - Static method in class org.jenkinsci.test.acceptance.docker.DockerImage
-
Get the string representation of the docker host as set by DOCKER_HOST environment variable or the localhost address if it is not set (or is a socket).
- getEncryptedPrivateKey() - Method in class org.jenkinsci.test.acceptance.docker.fixtures.SshdContainer
-
Get encrypted Private Key File
- getIpAddress() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
IP address of this container reachable through the bridge.
- getLogfile() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
- getName() - Method in class org.jenkinsci.test.acceptance.docker.Resource
-
Gets just the file name portion without any paths, like "foo.txt"
- getPid() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
- getPrivateKey() - Method in class org.jenkinsci.test.acceptance.docker.fixtures.SshdContainer
-
Get plaintext Private Key File
- getPrivateKeyString() - Method in class org.jenkinsci.test.acceptance.docker.fixtures.SshdContainer
I
- id() - Element in annotation type org.jenkinsci.test.acceptance.docker.DockerFixture
-
Unique ID of this fixture.
- inspect() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
Provides details of this container.
- ipBound(int) - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
Finds the ephemeral ip that the given container TCP port is bind to.
- ipUdpBound(int) - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
Finds the ephemeral ip that the given container UDP port is bind to.
- ipv6Enabled() - Static method in class org.jenkinsci.test.acceptance.docker.DockerContainer
- isAvailable() - Method in class org.jenkinsci.test.acceptance.docker.Docker
-
Checks if docker is available on this system.
- isContainerRunning(String) - Method in class org.jenkinsci.test.acceptance.docker.Docker
-
Checks if a given container is currently running.
J
- JavaContainer - Class in org.jenkinsci.test.acceptance.docker.fixtures
-
Fixture capable of running java programs over ssh.
- JavaContainer() - Constructor for class org.jenkinsci.test.acceptance.docker.fixtures.JavaContainer
L
- localOnly() - Method in class org.jenkinsci.test.acceptance.docker.DockerClassRule
- localOnly() - Method in class org.jenkinsci.test.acceptance.docker.DockerRule
M
- matchHostPorts() - Element in annotation type org.jenkinsci.test.acceptance.docker.DockerFixture
-
Map container ports to host ports exactly.
N
O
- org.jenkinsci.test.acceptance.docker - package org.jenkinsci.test.acceptance.docker
- org.jenkinsci.test.acceptance.docker.fixtures - package org.jenkinsci.test.acceptance.docker.fixtures
P
- popen(CommandBuilder) - Method in class org.jenkinsci.test.acceptance.docker.fixtures.SshdContainer
- port(int) - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
Finds the ephemeral port that the given container port is mapped to.
- ports() - Element in annotation type org.jenkinsci.test.acceptance.docker.DockerFixture
-
TCP ports that are exposed from this fixture.
- process(String) - Method in class org.jenkinsci.test.acceptance.docker.DynamicDockerContainer
-
Manipulates the provided Dockerfile contents.
R
- resource(String) - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
By convention, docker fixtures put their resources into a sub-directory that has the same name as the class name.
- Resource - Class in org.jenkinsci.test.acceptance.docker
-
Wraps a resource found by
Class.getResource(String)
. - Resource(URL) - Constructor for class org.jenkinsci.test.acceptance.docker.Resource
S
- sharingHostDockerService() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
Support the case when ATHs are running in a docker container and using the host docker service to spin "sibling" containers, as described in http://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/
- ssh() - Method in class org.jenkinsci.test.acceptance.docker.fixtures.SshdContainer
-
Gets the SSH command line via unencrypted key.
- SshdContainer - Class in org.jenkinsci.test.acceptance.docker.fixtures
-
Represents a server with SSHD.
- SshdContainer() - Constructor for class org.jenkinsci.test.acceptance.docker.fixtures.SshdContainer
- sshWithPublicKey(CommandBuilder) - Method in class org.jenkinsci.test.acceptance.docker.fixtures.SshdContainer
-
Login with SSH public key and run some command.
- start() - Method in class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
- start(Class<T>) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage
-
Start container from this image.
- start(Class<T>, int[], int, String, CommandBuilder, CommandBuilder) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage
-
Deprecated.Use
DockerImage.Starter
instead. - start(Class<T>, int[], CommandBuilder, CommandBuilder) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage
-
Deprecated.Use
DockerImage.Starter
instead. - start(Class<T>, CommandBuilder, CommandBuilder) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage
-
Deprecated.Use
DockerImage.Starter
instead. - start(Class<T>, CommandBuilder, CommandBuilder, int) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage
-
Deprecated.Use
DockerImage.Starter
instead. - Starter(Class<T>, DockerImage) - Constructor for class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
T
- tag - Variable in class org.jenkinsci.test.acceptance.docker.DockerImage
- toString() - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
- toString() - Method in class org.jenkinsci.test.acceptance.docker.DockerImage
U
- udpPort(int) - Method in class org.jenkinsci.test.acceptance.docker.DockerContainer
-
Finds the ephemeral UDP port that the given container port is mapped to.
- udpPorts() - Element in annotation type org.jenkinsci.test.acceptance.docker.DockerFixture
-
UDP ports that are exposed from this fixture.
- url - Variable in class org.jenkinsci.test.acceptance.docker.Resource
W
- withArgs(CommandBuilder) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
- withIpAddress(String) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
- withLog(File) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
- withOptions(CommandBuilder) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
- withPortOffset(Integer) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
- withPorts(int...) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
- withUdpPorts(int...) - Method in class org.jenkinsci.test.acceptance.docker.DockerImage.Starter
All Classes and Interfaces|All Packages|Constant Field Values
127.0.0.5
) you specify may not be reachable.