A group of functions written on top of the more low-level build functions, meant to improve writing build scripts. They should make the build scripts more intuitive, more readable. And, dare I say it, prettier?
The general intention is to provide functions for most purposes, without the user having to resort to using keywords and maps.
A group of functions written on top of the more low-level build functions, meant to improve writing build scripts. They should make the build scripts more intuitive, more readable. And, dare I say it, prettier? The general intention is to provide functions for most purposes, without the user having to resort to using keywords and maps.
Declares an action job with id, action and options
Declares an action job with id, action and options
Checks if argument is an action job
Checks if argument is an action job
Checks if files have been added in this build using the given predicate, which can either be a regex, a string or a matcher function.
Checks if files have been added in this build using the given predicate, which can either be a regex, a string or a matcher function.
(artifact id path)
Defines a new artifact with given id, located at given path
. This can be passed
to save-artifacts
or restore-artifacts
.
Defines a new artifact with given id, located at given `path`. This can be passed to `save-artifacts` or `restore-artifacts`.
(bash id & cmds)
Creates an action job that executes given command in a bash script
Creates an action job that executes given command in a bash script
Gets commit branch from the context.
Gets commit branch from the context.
Retrieves parameters this build has access to
Retrieves parameters this build has access to
Defines a cache with given id an path, that can be passed to caches
Defines a cache with given id an path, that can be passed to `caches`
(container-job id & [opts])
Declares an container job with id and container options
Declares an container job with id and container options
Checks if argument is an container job
Checks if argument is an container job
(depends-on job & deps)
Adds dependencies to the given job. Does not overwrite existing dependencies.
Adds dependencies to the given job. Does not overwrite existing dependencies.
(env job)
(env job e)
Gets or sets environment vars for the job
Gets or sets environment vars for the job
(image job)
(image job img)
Gets or sets container image
Gets or sets container image
Gets configured main branch from the build.
Gets configured main branch from the build.
Checks if the build branch is the configured main branch.
Checks if the build branch is the configured main branch.
Checks if files have been modified in this build using the given predicate, which can either be a regex, a string or a matcher function.
Checks if files have been modified in this build using the given predicate, which can either be a regex, a string or a matcher function.
Checks if files have been removed in this build using the given predicate, which can either be a regex, a string or a matcher function.
Checks if files have been removed in this build using the given predicate, which can either be a regex, a string or a matcher function.
(script job)
(script job script)
Gets or sets container job script
Gets or sets container job script
Gets commit tag (if any) from the context.
Gets commit tag (if any) from the context.
(work-dir job)
(work-dir job wd)
Gets or sets work dir for the job
Gets or sets work dir for the job
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close