Liking cljdoc? Tell your friends :D

monkey.ci.script.events

Mailman event routes for scripts

Mailman event routes for scripts
raw docstring

add-job-ctxclj

Interceptor that adds the job context, taken from state. An initial context should be already added to the state. Extensions may modify this context. It is passed to the jobs on execution.

Interceptor that adds the job context, taken from state.  An initial context should
be already added to the state.  Extensions may modify this context.  It is passed
to the jobs on execution.
sourceraw docstring

add-result-to-ctxclj

Adds the result from the event to the job context. Used by extensions.

Adds the result from the event to the job context.  Used by extensions.
sourceraw docstring

build-canceled?clj

(build-canceled? ctx)
source

build-sidclj

source

enqueue-jobsclj

Interceptor that enqueues all jobs indicated in the job/queued events in the result

Interceptor that enqueues all jobs indicated in the `job/queued` events in the result
sourceraw docstring

execute-actionclj

Interceptor that executes the job in the input event in a new thread, provided it's an action job. The job context must contain all necessary components for the job to run properly, such as artifacts, cache and events.

Interceptor that executes the job in the input event in a new thread, provided
it's an action job.  The job context must contain all necessary components for 
the job to run properly, such as artifacts, cache and events.
sourceraw docstring

get-buildclj

source

get-eventsclj

source

get-initial-job-ctxclj

source

get-job-ctxclj

(get-job-ctx ctx)

Gets or creates a job context from the state for the current job.

Gets or creates a job context from the state for the current job.
sourceraw docstring

get-jobsclj

source

get-running-actionsclj

source

handle-job-errorclj

Marks job as failed

Marks job as failed
sourceraw docstring

handle-script-errorclj

Marks script as failed

Marks script as failed
sourceraw docstring

job-endclj

(job-end ctx)

Queues jobs that have their dependencies resolved, or ends the script if all jobs have been executed, or the build has been canceled.

Queues jobs that have their dependencies resolved, or ends the script
if all jobs have been executed, or the build has been canceled.
sourceraw docstring

job-executedclj

(job-executed ctx)

Runs any extensions for the job in interceptors, then ends the job.

Runs any extensions for the job in interceptors, then ends the job.
sourceraw docstring

job-idclj

source

job-queuedclj

(job-queued ctx)

Dispatches queued event for action or container job, depending on the type.

Dispatches queued event for action or container job, depending on the type.
sourceraw docstring

load-jobsclj

Interceptor that loads jobs from the location pointed to by the script-dir and adds them to the state.

Interceptor that loads jobs from the location pointed to by the script-dir 
and adds them to the state.
sourceraw docstring

make-routesclj

(make-routes {:keys [build] :as conf})
source

mark-canceledclj

Marks build as canceled, so no other jobs will be enqueued.

Marks build as canceled, so no other jobs will be enqueued.
sourceraw docstring

script-endclj

(script-end ctx)
source

script-initclj

(script-init ctx)

Loads all jobs in the build script, then starts the script

Loads all jobs in the build script, then starts the script
sourceraw docstring

script-startclj

(script-start ctx)

Queues all jobs that have no dependencies

Queues all jobs that have no dependencies
sourceraw docstring

set-buildclj

(set-build ctx build)
source

set-build-canceledclj

(set-build-canceled ctx)
source

set-eventsclj

(set-events ctx q)
source

set-initial-job-ctxclj

(set-initial-job-ctx ctx job-ctx)
source

set-job-ctxclj

(set-job-ctx ctx job-ctx)
source

set-job-resultclj

Sets job result according to the event

Sets job result according to the event
sourceraw docstring

set-jobsclj

(set-jobs ctx jobs)
source

set-running-actionsclj

(set-running-actions ctx a)
source

update-jobclj

(update-job ctx job-id f & args)

Applies f to the job with given id in the state

Applies `f` to the job with given id in the state
sourceraw docstring

with-job-ctxclj

Adds job context from state in enter, and saves any updated context back on leave

Adds job context from state in `enter`, and saves any updated context back on `leave`
sourceraw docstring

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

× close