Liking cljdoc? Tell your friends :D

monkey.ci.artifacts

Functionality for saving/restoring artifacts. This is similar to caches, but where caches are used between the same jobs in different builds, artifacts are used for different jobs in the same build. Artifacts can also be exposed to the outside world.

Functionality for saving/restoring artifacts.  This is similar to caches, but
where caches are used between the same jobs in different builds, artifacts are
used for different jobs in the same build.  Artifacts can also be exposed to
the outside world.
raw docstring

artifact-archive-pathclj

(artifact-archive-path build id)

Returns path for the archive in the given build

Returns path for the archive in the given build
sourceraw docstring

ArtifactRepositorycljprotocol

restore-artifactclj

(restore-artifact this id dest)

Downloads and extracts artifact with given id to the specified destination directory. Returns the destination.

Downloads and extracts artifact with given id to the specified destination 
directory.  Returns the destination.

save-artifactclj

(save-artifact this id src)

Creates an archive and uploads the artifact with given id from src, which can be a directory or file.

Creates an archive and uploads the artifact with given id from `src`, which 
can be a directory or file.
source

build-sid->artifact-pathclj

(build-sid->artifact-path sid id)

Returns the path to the artifact with specified id for given build sid

Returns the path to the artifact with specified id for given build sid
sourceraw docstring

make-blob-repositoryclj

(make-blob-repository store build)
source

make-build-api-repositoryclj

(make-build-api-repository client)
source

repo?clj

(repo? x)
source

restore-artifactsclj

(restore-artifacts rt)
source

restore-blobclj

(restore-blob {:keys [repo job build]} {:keys [id path]})
source

restore-genericclj

(restore-generic conf)
source

save-artifactsclj

(save-artifacts rt)

Saves all artifacts according to the job configuration.

Saves all artifacts according to the job configuration.
sourceraw docstring

save-genericclj

(save-generic conf)
source

wrap-artifactsclj

(wrap-artifacts f)

Wraps f, which is a 1-arity function that takes a runtime configuration, so that artifacts are restored of the job found in the runtime. After the invocation of f, saves any published artifacts. Returns a deferred with the updated runtime.

Wraps `f`, which is a 1-arity function that takes a runtime configuration,
so that artifacts are restored of the job found in the runtime.  After the 
invocation of `f`, saves any published artifacts.  Returns a deferred with
the updated runtime.
sourceraw docstring

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

× close