Mailman event routes for scripts
Mailman event routes for scripts
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.
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.
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
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.
(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.
(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.
(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.
(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.
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.
Marks build as canceled, so no other jobs will be enqueued.
Marks build as canceled, so no other jobs will be enqueued.
(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
(script-start ctx)
Queues all jobs that have no dependencies
Queues all jobs that have no dependencies
Sets job result according to the event
Sets job result according to the event
(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
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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close