diff --git a/src/main/java/com/gpuopenanalytics/jenkins/remotedocker/DockerLauncher.java b/src/main/java/com/gpuopenanalytics/jenkins/remotedocker/DockerLauncher.java index f6cec73..09dc007 100644 --- a/src/main/java/com/gpuopenanalytics/jenkins/remotedocker/DockerLauncher.java +++ b/src/main/java/com/gpuopenanalytics/jenkins/remotedocker/DockerLauncher.java @@ -159,6 +159,7 @@ private ArgumentListBuilder getlaunchArgs(DockerConfiguration config, //TODO Set name? Maybe with build.toString().replaceAll("^\\w", "_") ArgumentListBuilder args = new ArgumentListBuilder() .add("run", "-t", "-d") + .add("--name", Utils.resolveVariables(this, "$BUILD_TAG")) .add("--workdir", workspacePath) //Add bridge network for internet access .add("--network", "bridge");