Liking cljdoc? Tell your friends :D

clj-cctray.ci.go

Functions specific to the GoCD server.

Functions specific to the GoCD server.
raw docstring

normalise-jobclj

(normalise-job project)

Normalises the job name in the given project map.

Normalises the job name in the given project map.
sourceraw docstring

normalise-stageclj

(normalise-stage project)

Normalises the stage name in the given project map.

Normalises the stage name in the given project map.
sourceraw docstring

split-nameclj

(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"}
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close