Updated on 2026-01-08 GMT+08:00

Running Shell Commands for Build

Graphical Build

Add Run Shell Commands, when configuring build actions.

The parameters are described in the following table.

Parameter

Description

Action Name

Name of a build action. It can be customized.

Tool Version

Select a tool version.

Commands

Enter the command as required.

Code-based Build

1
2
3
4
5
6
version: 2.0 # The value must be 2.0.
steps:
  PRE_BUILD:
    - sh:
        inputs:
          command: echo ${a}

The parameters are described in the following table.

Parameter

Type

Description

Mandatory

Default Value

command

String

Commands to be run.

Yes

None