Functions specific to the GoCD server.
Functions specific to the GoCD server.
(normalise-job project)
Normalises the job name in the given project map.
Normalises the job name in the given project map.
(normalise-stage project)
Normalises the stage name in the given project map.
Normalises the stage name in the given project map.
(split-name {:keys [name]})
GoCD combines the project name, stage and job into the CCTray XML name attribute, using :: as a delimiter.
This function splits the name into individual entries in the project map.
So instead of:
{:name "Project Name :: Stage Name :: Job Name"}
You end up with:
{:name "Project Name"
:stage "Stage Name"
:job "Job Name"}
GoCD combines the project name, stage and job into the CCTray XML name attribute, using :: as a delimiter. This function splits the name into individual entries in the project map. So instead of: {:name "Project Name :: Stage Name :: Job Name"} You end up with: {:name "Project Name" :stage "Stage Name" :job "Job Name"}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close