Liking cljdoc? Tell your friends :D

monkey.ci.build.v2

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.
raw docstring

action-jobclj

Declares an action job with id, action and options

Declares an action job with id, action and options
sourceraw docstring

action-job?clj

Checks if argument is an action job

Checks if argument is an action job
sourceraw docstring

added?clj

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.
sourceraw docstring

artifactclj

(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`.
sourceraw docstring

bashclj

(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
sourceraw docstring

branchclj

Gets commit branch from the context.

Gets commit branch from the context.
sourceraw docstring

build-paramsclj

Retrieves parameters this build has access to

Retrieves parameters this build has access to
sourceraw docstring

cacheclj

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`
sourceraw docstring

cachesclj

(caches job & arts)
source

container-jobclj

(container-job id & [opts])

Declares an container job with id and container options

Declares an container job with id and container options
sourceraw docstring

container-job?clj

Checks if argument is an container job

Checks if argument is an container job
sourceraw docstring

dependenciesclj

source

depends-onclj

(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.
sourceraw docstring

envclj

(env job)
(env job e)

Gets or sets environment vars for the job

Gets or sets environment vars for the job
sourceraw docstring

imageclj

(image job)
(image job img)

Gets or sets container image

Gets or sets container image
sourceraw docstring

job-idclj

source

main-branchclj

Gets configured main branch from the build.

Gets configured main branch from the build.
sourceraw docstring

main-branch?clj

Checks if the build branch is the configured main branch.

Checks if the build branch is the configured main branch.
sourceraw docstring

modified?clj

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.
sourceraw docstring

paramsclj

source

removed?clj

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.
sourceraw docstring

restore-artifactsclj

(restore-artifacts job & arts)
source

save-artifactsclj

(save-artifacts job & arts)
source

scriptclj

(script job)
(script job script)

Gets or sets container job script

Gets or sets container job script
sourceraw docstring

shellclj

Same as bash

Same as `bash`
sourceraw docstring

tagclj

Gets commit tag (if any) from the context.

Gets commit tag (if any) from the context.
sourceraw docstring

work-dirclj

(work-dir job)
(work-dir job wd)

Gets or sets work dir for the job

Gets or sets work dir for the job
sourceraw docstring

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

× close