Issue Summary

      Docker task configured by UI incorrectly exported to Java Specs

      1. misses detach container flag and adds linkToDetachedContainers when it was not configured at UI
      2. incorrect Docker Pull Registry option when Custom registry is selected

      Steps to Reproduce

      1. Create Docker run task
      2. Check Detach checkbox and provide container name
      3. Create another Docker pull task
      4. Select the option "Custom registry" and provide the repository
      5. 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

            [BAM-20561] Incorrect export of Docker task to Java Specs

            Marcin Walerianczyk made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Alexey Chystoprudov made changes -
            Fix Version/s New: 7.0.0 [ 89610 ]
            Alexey Chystoprudov made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Alexey Chystoprudov made changes -
            Status Original: Long Term Backlog [ 12073 ] New: In Progress [ 3 ]
            Alexey Chystoprudov made changes -
            Assignee New: Alexey Chystoprudov [ achystoprudov ]
            Bugfix Automation Bot made changes -
            Support reference count New: 1
            Foong (Inactive) made changes -
            Description Original: h3. 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

            h3. Steps to Reproduce
             # Create Docker run task
             # Check Detach checkbox and provide container name
             # Export plan to Java Specs

            h3. Expected Results
            {code}
            new DockerRunContainerTask()
                            .containerName("CONTAINER_NAME")
                            .detachContainer(true)
            {code}
            h3. Actual Results
            {code}
            new DockerRunContainerTask()
                            .containerName("CONTAINER_NAME")
                            .linkToDetachedContainers(true)
            {code}
            h3. Workaround
             Currently there is no known workaround for this behavior. A workaround will be added here when available
            New: h3. 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

            h3. 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

            h3. Expected Results
            {code}
            new DockerRunContainerTask()
                            .containerName("CONTAINER_NAME")
                            .detachContainer(true)
            ...
            new DockerPullImageTask()
                            . customRegistryImage("registry.address:port/namespace/repository:tag")
            {code}
            h3. Actual Results
            {code}
            new DockerRunContainerTask()
                            .containerName("CONTAINER_NAME")
                            .linkToDetachedContainers(true)
            ...
            new DockerPullImageTask()
                            . dockerHubImage("registry.address:port/namespace/repository:tag")
            {code}
            h3. Workaround
             Currently there is no known workaround for this behavior. A workaround will be added here when available
            Pawel Skierczynski made changes -
            Status Original: Gathering Impact [ 12072 ] New: Long Term Backlog [ 12073 ]
            Pawel Skierczynski made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 3327763 ] New: JAC Bug Workflow v3 [ 3386213 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]

              achystoprudov Alexey Chystoprudov
              achystoprudov Alexey Chystoprudov
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: