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

Need docker id (hostname) variable for other plugins

XMLWordPrintable

      Hello.
      In general Docker Plugin is working great for me. I use it for launching e2e gui tests of complex telecommunication system. There is however, one improvement that could be done. When Docker is launching new container it assigns unique ID that is also host name of the system running in Docker. I would like to use this host name (Container ID) as parameter to another plugin (VncViewer). I have found that there is DOCKER_CONTAINER_ID env. variable present, but it doesn't have this short ID that is present e.g. also when I list running containers with docker ps. Is there already Jenkins variable for this shorter ID present? If not, would it be possible to add it?
      BR, Krzysztof

            ndeloof Nicolas De Loof
            falc0n24 Krzysztof Sokolowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: