use of org.jenkinsci.test.acceptance.plugins.docker_build_step.GlobalDockerConfig in project acceptance-test-harness by jenkinsci.
the class DockerBuildStepTest method configureTcpEndpoint.
@Before
public void configureTcpEndpoint() {
assumeNotNull(DOCKER_DAEMON_TCP);
final JenkinsConfig global = jenkins.getConfigPage();
global.configure();
GlobalDockerConfig pluginConfig = new GlobalDockerConfig(global);
pluginConfig.restApiUrl(DOCKER_DAEMON_TCP);
pluginConfig.testConnection();
global.save();
}
Aggregations