Functions that allow you to use LambdaCDs pipeline mechanisms inside a step, i.e. chain several steps together:
(defn some-step [args ctx]
(chaining args ctx
(shell/bash injected-ctx "/ " "echo hello ")
(shell/bash injected-ctx "/ " "echo world ")))
(defn some-step-with-error-handling [args ctx]
(always-chaining args ctx
(run-tests injected-args injected-ctx)
(if (= :failure (:status injected-args))
(publish-test-failures injected-args injected-ctx))))
Functions that allow you to use LambdaCDs pipeline mechanisms inside a step, i.e. chain several steps together:
```clojure
(defn some-step [args ctx]
(chaining args ctx
(shell/bash injected-ctx "/ " "echo hello ")
(shell/bash injected-ctx "/ " "echo world ")))
(defn some-step-with-error-handling [args ctx]
(always-chaining args ctx
(run-tests injected-args injected-ctx)
(if (= :failure (:status injected-args))
(publish-test-failures injected-args injected-ctx))))
```Functions that help in adding the ability for a step to be killed.
Functions that help in adding the ability for a step to be killed.
Functions that support build steps in dealing with metadata
Functions that support build steps in dealing with metadata
Functions and macros that simplify dealing with a steps user readable output (:out). Two approaches are provided:
The printer approach that gives full control over what will be provided as output and the capture-output-approach that just redirects all stdout.
Functions and macros that simplify dealing with a steps user readable output (`:out`). Two approaches are provided: The _printer_ approach that gives full control over what will be provided as output and the `capture-output`-approach that just redirects all stdout.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |