Runner image in use as variable

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Docker Runner
    • None
    • 0

      When running a build in a container image using the runner images, there is no way to tell from the running build if it running in a container and if so, what the image name and/or tag is.

      The expectation would be that variables like the following are then expose by Bamboo:

      stage.{id | name}.agent.environment = docker|bambooagent
      stage.{id | name}.agent.docker.image = docker image

       

      The value for {id | name} I'm unsure off, but I suppose this could be optional.

       

      This would make huge difference to us as we would then be able to very easily report on whether a build is running in a container of not and also what containers. It would as an example help us react to issues relating to a particular image as we will be able to very easily track what success/error rates look like for a particular image. Currently, it is not possible for us to track this.

              Assignee:
              Unassigned
              Reporter:
              KhurramS
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: