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. Accepts one or two arguments: when given one argument, returns a function that accepts the context to check if the predicate matches. When given two arguments, accepts the context and the predicate.

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.  Accepts one or two arguments: when given one argument,
returns a function that accepts the context to check if the predicate matches.  When given two
arguments, accepts the context and the predicate.
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-idclj

Returns current build id

Returns current build id
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)

Configures the caches a job uses.

Configures the caches a job uses.
sourceraw docstring

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

Gets the configured dependencies of a job

Gets the configured dependencies of a job
sourceraw docstring

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

errorclj

Same as failure

Same as `failure`
sourceraw docstring

failedclj

Same as failure

Same as `failure`
sourceraw docstring

failureclj

Indicates the job has failed

Indicates the job has failed
sourceraw docstring

imageclj

(image job)
(image job img)

Gets or sets container image

Gets or sets container image
sourceraw docstring

job-idclj

Gets the id of the given job

Gets the id of the given job
sourceraw docstring

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. Similar to added?.

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.  Similar to `added?`.
sourceraw docstring

paramsclj

Shorthand for build-params

Shorthand for `build-params`
sourceraw docstring

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. Similar to added?.

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.  Similar to `added?`.
sourceraw docstring

restore-artifactsclj

(restore-artifacts job & arts)

Configures the artifacts to restore on a job.

Configures the artifacts to restore on a job.
sourceraw docstring

save-artifactsclj

(save-artifacts job & arts)

Configures the artifacts to save on a job.

Configures the artifacts to save on a job.
sourceraw docstring

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

skippedclj

Indicates the job was intentionally skipped

Indicates the job was intentionally skipped
sourceraw docstring

successclj

Indicates the job was successful

Indicates the job was successful
sourceraw docstring

tagclj

Gets commit tag (if any) from the context.

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

touched?clj

Checks if files have been touched in this build using the given predicate, which can either be a regex, a string or a matcher function. Similar to added?.

Checks if files have been touched in this build using the given predicate, which can either be a
regex, a string or a matcher function.  Similar to `added?`.
sourceraw docstring

with-messageclj

Sets a human-readable message on the return value

Sets a human-readable message on the return value
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