Configuring Parameters
You can create and configure pipeline custom parameters.
Procedure
- Log in to CodeArts Pipeline.
- Search for the target pipeline, click
in the Operation column, and click Edit.
- Switch to the Parameter Configuration tab page.
You can configure the following information.
Basic Information
Description
Create now
Click Create now to create a parameter.
Name
Parameter name. You can specify a parameter name.
NOTE:The specified name cannot be the same as that of a predefined parameter.
Type
Parameter types include string, auto-increment, and enumeration.
Default
You can enter or select a parameter value.
Private Parameter
If a parameter is private, the system encrypts the parameter for storage and only decrypts the parameter for usage. Private parameters are not displayed in run logs.
Runtime Setting
If Runtime Setting is enabled, you can change the value of this parameter during task orchestration.
Description
Description of a parameter.
Operation
You can click
to delete a parameter.
- Create and configure parameters.
Click Create now, set the name, type (String by default), and parameter value. You can also set it as a private parameter and enable runtime setting.
- String
The parameter value is a string. You can customize the value in the Default column, and enable Private Parameter and Runtime Setting.
- Enumeration
After you select Enumeration, the Enumeration dialog box is displayed. You can set the optional value.
After the setting is complete, click the Default drop-down list box to select a value. Alternatively, click
to change the value.
- Auto-increment
The parameter value is a string and defaults to 1.0.0. If such a parameter is referenced by a job in the pipeline, the value of this parameter is incremented by 1 each time the pipeline is run.
If the value of an auto-increment parameter does not end with a digit, the value does not increase automatically after an execution.
- String
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