Liking cljdoc? Tell your friends :D

monkey.ci.build.core

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.
raw docstring

->predclj

(->pred x)

action-jobclj

(action-job id action)
(action-job id action opts)

Creates a new job

Creates a new job
raw docstring

action-job?clj


added?clj

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.
raw docstring

as-jobclj

(as-job f)

Marks fn f as a job

Marks fn `f` as a job
raw docstring

branchclj

Gets the commit branch from the context

Gets the commit branch from the context
raw docstring

branch-regexclj


container-jobclj

(container-job id props)

Creates a job that executes in a container

Creates a job that executes in a container
raw docstring

container-job?clj


defjobcljmacro

(defjob n & args)

Defines an action job function

Defines an action job function
raw docstring

defpipelinecljmacro

(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
raw docstring

depends-onclj

(depends-on job ids)

Adds dependencies to the given job

Adds dependencies to the given job
raw docstring

failed?clj

(failed? {:keys [status]})

failureclj


file-changesclj


files-addedclj

Files that have been added by the commits

Files that have been added by the commits
raw docstring

files-modifiedclj

Files that have been modified by the commits

Files that have been modified by the commits
raw docstring

files-removedclj

Files that have been removed by the commits

Files that have been removed by the commits
raw docstring

git-refclj

(git-ref ctx)

Gets the git ref from the context

Gets the git ref from the context
raw docstring

job-idclj

(job-id x)

main-branchclj


main-branch?clj

(main-branch? ctx)

modified?clj

Similar to added? but for modified files

Similar to `added?` but for modified files
raw docstring

pipelineclj

(pipeline config)

Create a pipeline with given config

Create a pipeline with given config
raw docstring

pipeline?clj

(pipeline? x)

ref-regexclj

(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.
raw docstring

regex?clj


removed?clj

Similar to added? but for removed files

Similar to `added?` but for removed files
raw docstring

skippedclj


skipped?clj

(skipped? {:keys [status]})

statusclj

(status v)

status?clj

(status? x)

Checks if the given object is a job status

Checks if the given object is a job status
raw docstring

step->jobclj

(step->job m)

Converts legacy map jobs into job records

Converts legacy map jobs into job records
raw docstring

successclj


success?clj

(success? {:keys [status]})

tagclj

Gets the commit tag from the context

Gets the commit tag from the context
raw docstring

tag-regexclj


touched?clj

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.
raw docstring

work-dirclj

The job work dir

The job work dir
raw docstring

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

× close