Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46581

DNS Search Domains not honored in Amazon ECS Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • amazon-ecs-plugin
    • None

      It appears that the ECSService.java does not implement .withDnsSearchDomains() in the ContainerDefinition() for the AWS SDK.

       
      finalContainerDefinitiondef=newContainerDefinition()
      .withName(familyName)
      .withImage(template.getImage())
      .withEnvironment(template.getEnvironmentKeyValuePairs())
      .withExtraHosts(template.getExtraHostEntries())
      .withMountPoints(template.getMountPointEntries())
      .withCpu(template.getCpu())
      .withPrivileged(template.getPrivileged())
      .withDnsSearchDomains(template.getDnsSearchDomainEntries())
      .withEssential(true);
       
       
      It also appears that the return object in the ECSTaskTemplate.java returns a string instead of a List<String> which is required to pass multiple search domains.
       
      This appears to be in the 1.11 version of the plugin. Is there a new plugin or update to resolve this?

            pgarbe Philipp Garbe
            doneil326 danny oneil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: