Timeout at Step-level

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

Step-level timeout setting takes precedence over every other timeout setting, be it at node pool-level or system-level. If this value is not set, the step uses the timeout setting configured for the node pool in the UI.

Note

The step-level timeout cannot exceed the timeout set for system or node pool.

The timeout at step-level can be set for any step using thetimeoutSecondsproperty, which is added to the Configuration section of the step. For more information, see Step Configuration.

In this example, the timeout is set to 300 seconds (5 minutes):

Example

pipelines:
  - name: my_pipeline
    steps:
      - name: my_step
        type: Bash
        configuration:
          timeoutSeconds: 300     # 5 minutes
        execution:
          onExecute:
            - echo "This is my step."