-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Minor
-
Component/s: pipeline-model-definition-plugin
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"
}
}