Liking cljdoc? Tell your friends :D

monkey.ci.build

Functions for working with the build object in the runtime. This represents the current build.

Functions for working with the build object in the runtime.  This
represents the current build.
raw docstring

account->sidclj


build->evtclj

(build->evt build)

Prepare build object so it can be added to an event

Prepare build object so it can be added to an event
raw docstring

build-completed-evtcljdeprecated


build-end-evtclj

(build-end-evt build & [exit-code])

Creates a build/end event

Creates a `build/end` event
raw docstring

build-idclj


build-sid-lengthclj


calc-checkout-dirclj

(calc-checkout-dir rt)
(calc-checkout-dir rt build)

Calculates the checkout directory for the build, by combining the checkout base directory and the build id.

Calculates the checkout directory for the build, by combining the checkout
base directory and the build id.
raw docstring

calc-script-dirclj

(calc-script-dir wd sd)

Given an (absolute) working directory and scripting directory, determines the absolute script dir.

Given an (absolute) working directory and scripting directory, determines
the absolute script dir.
raw docstring

checkout-dirclj

Gets the checkout dir as stored in the build structure

Gets the checkout dir as stored in the build structure
raw docstring

default-script-dirclj


exit-code->statusclj

(exit-code->status exit)

get-build-idclj


get-job-idclj

Creates a string representation of the job sid

Creates a string representation of the job sid
raw docstring

get-job-sidclj

Creates a job sid using the build id and job id. Note that this does not include the customer and repo ids, so this is only unique within the repo.

Creates a job sid using the build id and job id.  Note that this does
not include the customer and repo ids, so this is only unique within the repo.
raw docstring

get-sidclj

(get-sid rt)

Gets current build sid from the runtime. This is either specified directly, or taken from account settings.

Gets current build sid from the runtime.  This is either specified directly,
or taken from account settings.
raw docstring

job-relative-dirclj

(job-relative-dir rt p)

Calculates path p as relative to the work dir for the current job

Calculates path `p` as relative to the work dir for the current job
raw docstring

job-work-dirclj

(job-work-dir rt)

Given a runtime, determines the job working directory. This is either the work dir as configured on the job, or the context work dir, or the process dir.

Given a runtime, determines the job working directory.  This is either the
work dir as configured on the job, or the context work dir, or the process dir.
raw docstring

make-build-ctxclj

(make-build-ctx rt)

Creates a build context that can be added to the runtime.

Creates a build context that can be added to the runtime.
raw docstring

rt->checkout-dircljdeprecated


rt->job-idclj


rt->script-dircljdeprecated

Gets script dir for the build from runtime

Gets script dir for the build from runtime
raw docstring

scriptclj

Gets script from the build

Gets script from the build
raw docstring

script-dirclj

Gets script dir from the build

Gets script dir from the build
raw docstring

set-checkout-dirclj

(set-checkout-dir b d)

set-script-dirclj

(set-script-dir b d)

sidclj

Gets the sid from the build

Gets the sid from the build
raw docstring

ssh-keys-dirclj

Calculates ssh keys dir for the build

Calculates ssh keys dir for the build
raw docstring

success-jobsclj

(success-jobs b)

Returns all successful jobs in the build

Returns all successful jobs in the build
raw docstring

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

× close