-
Bug
-
Resolution: Fixed
-
Low
-
6.9.0
-
1
-
Severity 3 - Minor
-
Issue Summary
Docker task configured by UI incorrectly exported to Java Specs
- misses detach container flag and adds linkToDetachedContainers when it was not configured at UI
- incorrect Docker Pull Registry option when Custom registry is selected
Steps to Reproduce
- Create Docker run task
- Check Detach checkbox and provide container name
- Create another Docker pull task
- Select the option "Custom registry" and provide the repository
- Export plan to Java Specs
Expected Results
new DockerRunContainerTask() .containerName("CONTAINER_NAME") .detachContainer(true) ... new DockerPullImageTask() . customRegistryImage("registry.address:port/namespace/repository:tag")
Actual Results
new DockerRunContainerTask() .containerName("CONTAINER_NAME") .linkToDetachedContainers(true) ... new DockerPullImageTask() . dockerHubImage("registry.address:port/namespace/repository:tag")
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available