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
Checks if any of the added files matches p
. If p
is a function, it is used
as a predicate. If it's a string, and exact match is performed. If it's a regex,
a regex match is done.
Checks if any of the added files matches `p`. If `p` is a function, it is used as a predicate. If it's a string, and exact match is performed. If it's a regex, a regex match is done.
Gets the commit branch from the context
Gets the commit branch from the context
Retrieves this build id from the context
Retrieves this build id 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
Files that have been added by the commits
Files that have been added by the commits
Files that have been modified by the commits
Files that have been modified by the commits
Files that have been removed by the commits
Files that have been removed by the commits
(git-ref ctx)
Gets the git ref from the context
Gets the git ref from the context
Similar to added?
but for modified files
Similar to `added?` but for modified files
(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.
Similar to added?
but for removed files
Similar to `added?` but for removed files
(restore-artifacts job artifacts)
Adds given artifacts to the job restored artifacts
Adds given artifacts to the job restored artifacts
(save-artifacts job artifacts)
Adds given artifacts to the job saved artifacts
Adds given artifacts to the job saved artifacts
(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
Returns true
if the path occurs in any of the file changes. If p
is a regex,
checks if any of the files match the regex. If p
is a function, it is applied
as a predicate against the files, until one matches.
Returns `true` if the path occurs in any of the file changes. If `p` is a regex, checks if any of the files match the regex. If `p` is a function, it is applied as a predicate against the files, until one matches.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close