Liking cljdoc? Tell your friends :D

monkey.ci.jobs

Handles job execution and ordering in a build

Handles job execution and ordering in a build
raw docstring

as-serializableclj

(as-serializable job)

Converts job into something that can be converted to edn

Converts job into something that can be converted to edn
sourceraw docstring

depsclj

Get job dependencies

Get job dependencies
sourceraw docstring

ex->resultclj

(ex->result ex)

Creates result structure from an exception

Creates result structure from an exception
sourceraw docstring

execute-jobs!clj

(execute-jobs! jobs rt)

Executes all jobs in dependency order. Returns a deferred that will hold the results of all executed jobs.

Executes all jobs in dependency order.  Returns a deferred that will hold
the results of all executed jobs.
sourceraw docstring

failed?clj

source

filter-jobsclj

(filter-jobs pred jobs)

Applies a filter to the given jobs, but includes all dependencies of jobs that match the filter, even though the dependencies themselves may not match it.

Applies a filter to the given jobs, but includes all dependencies of jobs that
match the filter, even though the dependencies themselves may not match it.
sourceraw docstring

Jobcljprotocol

Base job protocol that is able to execute it, taking the runtime as argument.

Base job protocol that is able to execute it, taking the runtime as argument.

execute!clj

(execute! job rt)
sourceraw docstring

job->eventclj

Converts job into something that can be put in an event

Converts job into something that can be put in an event
sourceraw docstring

job-end-evtclj

Event that indicates the job has been fully completed. The result should not change anymore.

Event that indicates the job has been fully completed.  The result should not change anymore.
sourceraw docstring

job-executed-evtclj

Creates an event that indicates the job has executed, but has not been completed yet. Extensions may need to be applied first.

Creates an event that indicates the job has executed, but has not been completed yet.
Extensions may need to be applied first.
sourceraw docstring

job-fn?clj

(job-fn? x)
source

job-idclj

Gets job id

Gets job id
sourceraw docstring

job-initializing-evtclj

(job-initializing-evt job-id build-sid cm)
source

job-start-evtclj

source

job?clj

(job? x)

Checks if object is a job

Checks if object is a job
sourceraw docstring

label-filterclj

(label-filter f)

Predicate function that matches a job by its labels

Predicate function that matches a job by its labels
sourceraw docstring

labelsclj

Get job labels

Get job labels
sourceraw docstring

max-job-timeoutclj

source

next-jobsclj

(next-jobs jobs)

Returns a list of next jobs that are eligible for execution. If all jobs are pending, returns the starting jobs, those that don't have any dependencies.
Otherwise returns all pending jobs that have their dependencies fulfilled.

Returns a list of next jobs that are eligible for execution.  If all jobs are
pending, returns the starting jobs, those that don't have any dependencies.  
Otherwise returns all pending jobs that have their dependencies fulfilled.
sourceraw docstring

pending?clj

source

resolvable?clj

(resolvable? x)
source

resolve-allclj

(resolve-all rt jobs)

Resolves all jobs, removes anything that's not resolvable or not a job.

Resolves all jobs, removes anything that's not resolvable or not a job.
sourceraw docstring

resolve-jobsclj

source

rt->contextclj

(rt->context rt)
source

running?clj

source

save-artifactsclj

Gets artifacts saved by job

Gets artifacts saved by job
sourceraw docstring

set-credit-multiplierclj

(set-credit-multiplier job cm)
source

statusclj

Get job status

Get job status
sourceraw docstring

success?clj

source

work-dirclj

Gets job work dir

Gets job work dir
sourceraw docstring

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

× close