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

source

all-jobsclj

Retrieves all jobs known to the build

Retrieves all jobs known to the build
sourceraw docstring

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

build-completed-evtcljdeprecated

source

build-end-evtclj

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

Creates a build/end event

Creates a `build/end` event
sourceraw docstring

build-idclj

source

build-sid-lengthclj

source

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

calc-creditsclj

(calc-credits build)

Calculates the consumed credits for this build

Calculates the consumed credits for this build
sourceraw 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.
sourceraw docstring

checkout-dirclj

Gets the checkout dir as stored in the build structure

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

default-script-dirclj

source

exit-code->statusclj

(exit-code->status exit)
source

get-build-idclj

source

get-job-idclj

Creates a string representation of the job sid

Creates a string representation of the job sid
sourceraw 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.
sourceraw 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.
sourceraw 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
sourceraw 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.
sourceraw docstring

make-build-ctxclj

(make-build-ctx rt)

Creates a build context that can be added to the runtime. This is used when running a build from cli.

Creates a build context that can be added to the runtime.  This is used when
running a build from cli.
sourceraw docstring

minutesclj

msecs per minute

msecs per minute
sourceraw docstring

rt->checkout-dircljdeprecated

source

rt->job-idclj

source

rt->script-dircljdeprecated

Gets script dir for the build from runtime

Gets script dir for the build from runtime
sourceraw docstring

scriptclj

Gets script from the build

Gets script from the build
sourceraw docstring

script-dirclj

Gets script dir from the build

Gets script dir from the build
sourceraw docstring

set-checkout-dirclj

(set-checkout-dir b d)
source

set-script-dirclj

(set-script-dir b d)
source

sidclj

Gets the sid from the build

Gets the sid from the build
sourceraw docstring

ssh-keys-dirclj

Calculates ssh keys dir for the build

Calculates ssh keys dir for the build
sourceraw docstring

success-jobsclj

(success-jobs b)

Returns all successful jobs in the build

Returns all successful jobs in the build
sourceraw docstring

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

× close