Commit 600f6bc6 authored by Koehorst, Jasper's avatar Koehorst, Jasper
Browse files

kubernetes job name change

parent 4ee76581
Pipeline #16549 failed with stage
......@@ -275,7 +275,7 @@ public class Kubernetes {
containerItem.env(env);
// Set the name
String name = "cwl-" + new File(yamlFile).getName().toLowerCase().replaceAll("[_\\.]", "");
String name = "cwl-" + new File(yamlFile).getParentFile().getName().toLowerCase().replaceAll("[_\\.]", "") + "-" + new File(yamlFile).getName().toLowerCase().replaceAll("[_\\.]", "");
if (name.length() > 62) name = name.substring(0, 62);
containerItem.name(name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment