• Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • docker-plugin
    • None
    • Jenkins ver. 1.580.3
      Docker plugin 0.10.0
      Token Macro Plugin 1.10

      I would like to be able to name the docker containers in relation to its running Jenkins job and build number.
      E.g.: SOME_TEXT-<JOB_NAME>-<BUILD_NUMBER>

      Please add an option to configure the container names.
      May be in combination with the Token Macro Plugin?

          [JENKINS-29417] Add option to configure container name

          container name can be configured, but it can't have build number because slave provisioned without knowing what build is wanted it.
          This request also duplicates request in GH issues.

          Kanstantsin Shautsou added a comment - container name can be configured, but it can't have build number because slave provisioned without knowing what build is wanted it. This request also duplicates request in GH issues.

          Please, can you give some information and/or links how to how to customize the container name?

          Thorsten Roemer added a comment - Please, can you give some information and/or links how to how to customize the container name?

          I have plans expose all possible available options in DockerTemplateBase to exclude future requests.

          Kanstantsin Shautsou added a comment - I have plans expose all possible available options in DockerTemplateBase to exclude future requests.

            integer Kanstantsin Shautsou
            tr Thorsten Roemer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: