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

action-jobclj

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

Creates a new job

Creates a new job
sourceraw docstring

action-job?clj

source

as-jobclj

(as-job f)

Marks fn f as a job

Marks fn `f` as a job
sourceraw docstring

branchclj

Gets the commit branch from the context

Gets the commit branch from the context
sourceraw docstring

branch-regexclj

source

container-jobclj

(container-job id props)

Creates a job that executes in a container

Creates a job that executes in a container
sourceraw docstring

container-job?clj

source

defjobcljmacro

(defjob n & args)

Defines an action job function

Defines an action job function
sourceraw 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
sourceraw docstring

depends-onclj

(depends-on job ids)

Adds dependencies to the given job

Adds dependencies to the given job
sourceraw docstring

failed?clj

(failed? {:keys [status]})
source

failureclj

source

git-refclj

(git-ref ctx)

Gets the git ref from the context

Gets the git ref from the context
sourceraw docstring

job-idclj

(job-id x)
source

main-branchclj

source

main-branch?clj

(main-branch? ctx)
source

pipelineclj

(pipeline config)

Create a pipeline with given config

Create a pipeline with given config
sourceraw docstring

pipeline?clj

(pipeline? x)
source

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

skippedclj

source

skipped?clj

(skipped? {:keys [status]})
source

statusclj

(status v)
source

status?clj

(status? x)

Checks if the given object is a job status

Checks if the given object is a job status
sourceraw docstring

step->jobclj

(step->job m)

Converts legacy map jobs into job records

Converts legacy map jobs into job records
sourceraw docstring

successclj

source

success?clj

(success? {:keys [status]})
source

tagclj

Gets the commit tag from the context

Gets the commit tag from the context
sourceraw docstring

tag-regexclj

source

work-dirclj

The job work dir

The job work dir
sourceraw docstring

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

× close