Help Center> CodeArts Build> User Guide> Configuring Build Actions> Code-based Build> Configuring a Task> Using YAML to Configure and Execute Shell Commands
Updated on 2023-12-06 GMT+08:00

Using YAML to Configure and Execute Shell Commands

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

Execute commands.

Yes

None