-
Notifications
You must be signed in to change notification settings - Fork 0
Class.TryStep
@decentm/concourse-ts / TryStep
Defined in: components/step/try.ts:13
Wraps a step to catch any failures and continue the build. If the wrapped step fails, the try step succeeds and subsequent steps will run.
https://concourse-ci.org/docs/steps/try/
-
Step<TryStep>
new TryStep(
name,customise?):TryStep
Defined in: components/step/try.ts:27
string
(instance) => void
Step<Type.TryStep>.constructor
name:
string
Defined in: components/step/try.ts:28
Step.name
add_across(...
across):void
Defined in: components/step/base.ts:57
https://concourse-ci.org/docs/steps/modifier-and-hooks/across/#across-step-modifier
...Across<Identifier>[]
The modifier to add
void
Step.add_across
add_ensure(
step):void
Defined in: components/step/base.ts:249
Adds a step to always be run after this one.
https://concourse-ci.org/docs/steps/modifier-and-hooks/ensure/#ensure-step-hook
void
Step.add_ensure
add_on_abort(
step):void
Defined in: components/step/base.ts:234
Adds a step to be run after this one is aborted.
https://concourse-ci.org/docs/steps/modifier-and-hooks/on-abort/#on_abort-step-hook
void
Step.add_on_abort
add_on_error(
step):void
Defined in: components/step/base.ts:219
Adds a step to be run after this one errors.
https://concourse-ci.org/docs/steps/modifier-and-hooks/on-error/#on_error-step-hook
void
Step.add_on_error
add_on_failure(
step):void
Defined in: components/step/base.ts:204
Adds a step to be run after this one fails.
https://concourse-ci.org/docs/steps/modifier-and-hooks/on-failure/#on_failure-step-hook
void
Step.add_on_failure
add_on_success(
step):void
Defined in: components/step/base.ts:189
Adds a step to be run after this one succeeds.
https://concourse-ci.org/docs/steps/modifier-and-hooks/on-success/#on_success-step-hook
void
Step.add_on_success
add_tags(...
tags):void
Defined in: components/step/base.ts:174
https://concourse-ci.org/docs/steps/modifier-and-hooks/tags/#tags-step-modifier
...string[]
void
Step.add_tags
set_attempts(
attempts):void
Defined in: components/step/base.ts:81
Sets the number of attempts for this step.
https://concourse-ci.org/docs/steps/modifier-and-hooks/attempts/#attempts-step-modifier
number
void
Step.set_attempts
set_timeout(
timeout):void
Defined in: components/step/base.ts:68
https://concourse-ci.org/docs/steps/modifier-and-hooks/timeout/#timeout-step-modifier
void
Step.set_timeout
set_try(
step):void
Defined in: components/step/try.ts:52
Sets the step to attempt. If this step fails, the try step will succeed and execution will continue.
https://concourse-ci.org/docs/steps/try/
Step<Step>
The step to wrap in try
void
staticcustomise(init):void
Defined in: components/step/try.ts:23
Customises all TrySteps constructed after calling this function.
(instance) => void
void
staticcustomise_base(init):void
Defined in: components/step/base.ts:28
Customises the base of all Steps constructed after calling this function
(instance) => void
void
Step.customise_base