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-end-evtclj

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

Creates a build/end event

Creates a `build/end` event
sourceraw docstring

build-evtclj

(build-evt type build & keyvals)
source

build-idclj

source

build-init-evtclj

(build-init-evt build)
source

build-sid-lengthclj

source

build-start-evtclj

(build-start-evt build)
source

calc-checkout-dirclj

(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

credit-multiplierclj

source

default-script-dirclj

source

exit-code->statusclj

(exit-code->status exit)
source

get-job-sidclj

(get-job-sid job build)

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 job build 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 job build)

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

local-build-idclj

(local-build-id)
source

make-build-ctxclj

(make-build-ctx {:keys [args] :as config})

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

props->sidclj

Constructs sid from build properties

Constructs sid from build properties
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-credit-multiplierclj

(set-credit-multiplier b cm)
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

sid->propsclj

(sid->props b)

Constructs map of customer-id, repo-id and build-id from the build or it's sid

Constructs map of `customer-id`, `repo-id` and `build-id` from the build or it's sid
sourceraw docstring

sid-propsclj

source

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