use of org.jenkinsci.plugins.docker.workflow.declarative.GlobalConfig in project configuration-as-code-plugin by jenkinsci.
the class DockerWorkflowTest method configure_global_definition.
@Test
@ConfiguredWithReadme("docker-workflow/README.md")
public void configure_global_definition() {
GlobalConfig config = GlobalConfig.get();
assertNotNull(config);
assertEquals("label-casc", config.getDockerLabel());
assertEquals("my.docker.endpoint", config.getRegistry().getUrl());
assertEquals("credId", config.getRegistry().getCredentialsId());
}
use of org.jenkinsci.plugins.docker.workflow.declarative.GlobalConfig in project configuration-as-code-plugin by jenkinsci.
the class DockerWorkflowSymbolTest method configure_global_definition.
@Test
@Issue("1260")
public void configure_global_definition() {
GlobalConfig config = GlobalConfig.get();
assertNotNull(config);
assertEquals("label-casc", config.getDockerLabel());
assertEquals("my.docker.endpoint", config.getRegistry().getUrl());
assertEquals("credId", config.getRegistry().getCredentialsId());
}
Aggregations