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 |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
