[JIRA] (JENKINS-42466) Allow easy naming of docker/dockerfile agent containers

1 view
Skip to first unread message

p.leibiger@codecraft.de (JIRA)

unread,
Mar 3, 2017, 9:07:02 AM3/3/17
to jenkinsc...@googlegroups.com
Peter Leibiger created an issue
 
Jenkins / Improvement JENKINS-42466
Allow easy naming of docker/dockerfile agent containers
Issue Type: Improvement Improvement
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2017/Mar/03 2:06 PM
Priority: Minor Minor
Reporter: Peter Leibiger

Currently agent containers get assigned random names by docker. It would be nice to have them named according to the Jenkins build name.

Possible workaround (not tested):

   agent {
     docker {
        image 'foo'
        args "--name $currentBuild.displayName"
    }
  }
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:16 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Won't Fix
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages