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.
(artifact-archive-path build id)
Returns path for the archive in the given build
Returns path for the archive in the given build
(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-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.
(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
(save-artifacts rt)
Saves all artifacts according to the job configuration.
Saves all artifacts according to the job configuration.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close