Steps

Introduction

A step is the smallest building block of a pipeline. They are a set of commands to be executed to build, deploy, or test the source code. You can define the steps for your job, by adding the commands using a hyphen (-).

You can define the steps for the pipeline using the steps key.

YAML Code Snippet for Steps

copy
steps:
      - ls
      - >-
        catalyst deploy appsail --name spring-boot --build-path "/catalyst/SNAPSHOT.jar"
        --stack java17 --platform javase --command "sh -c 'java -jar SNAPSHOT.jar --server.port=\${X_ZOHO_CATALYST_LISTEN_PORT}'"
        --verbose

Last Updated 2025-05-30 16:54:59 +0530 IST