Core build script functionality. This is used by build scripts to create the configuration which is then executed by the configured runner. Which runner is configured or active depends on the configuration of the MonkeyCI application that executes the script.
Core build script functionality. This is used by build scripts to create the configuration which is then executed by the configured runner. Which runner is configured or active depends on the configuration of the MonkeyCI application that executes the script.
(action-job id action)
(action-job id action opts)
Creates a new job
Creates a new job
Gets the commit branch from the context
Gets the commit branch from the context
(container-job id props)
Creates a job that executes in a container
Creates a job that executes in a container
(defjob n & args)
Defines an action job function
Defines an action job function
(defpipeline n jobs)
Convenience macro that declares a var for a pipeline with the given name with specified jobs
Convenience macro that declares a var for a pipeline with the given name with specified jobs
(depends-on job ids)
Adds dependencies to the given job
Adds dependencies to the given job
(git-ref ctx)
Gets the git ref from the context
Gets the git ref from the context
(pipeline config)
Create a pipeline with given config
Create a pipeline with given config
(ref-regex ctx re)
Applies the given regex on the ref from the context, returns the matching groups.
Applies the given regex on the ref from the context, returns the matching groups.
(status? x)
Checks if the given object is a job status
Checks if the given object is a job status
(step->job m)
Converts legacy map jobs into job records
Converts legacy map jobs into job records
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close