(exec-script! rt+build)
Loads a script from a directory and executes it. The script is executed in this same process.
Loads a script from a directory and executes it. The script is executed in this same process.
(load-jobs rt)
Loads the script and resolves the jobs
Loads the script and resolves the jobs
(make-client {{:keys [url token]} :api})
Creates an API client function, that can be invoked by build scripts to perform certain operations, like retrieve build parameters. The client uses the token passed by the spawning process to gain access to those resources.
Creates an API client function, that can be invoked by build scripts to perform certain operations, like retrieve build parameters. The client uses the token passed by the spawning process to gain access to those resources.
(resolve-jobs p rt)
The build script either returns a list of pipelines, a set of jobs or a function that returns either. This function resolves the jobs by processing the script return value.
The build script either returns a list of pipelines, a set of jobs or a function that returns either. This function resolves the jobs by processing the script return value.
(run-all-jobs {:keys [pipeline] :as rt} jobs)
Executes all jobs in the set, in dependency order.
Executes all jobs in the set, in dependency order.
Wraps the job so any registered extensions get executed.
Wraps the job so any registered extensions get executed.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close