Users can add frequently used parameters and credentials as environment variables for use when creating a build pipeline.
Getting Started with Environment Variable Management
Follow these steps to manage environment variables used in the build pipeline.
- On the Main page, click the Project card. You will be taken to the Project Dashboard page.
- Click the Build/Deploy > Environment Variable Management menu in the left menu of the Project Dashboard page. You will be taken to the Environment Variable Management page.
Adding environment variables
Add parameter environment variable
Parameter environment variables act as Linux Environment variables and are used in the NAME=VALUE format.
To add a parameter environment variable, follow these steps.
- On the Environment Variable Management page, click the Add button. The Add Environment Variable popup window opens.
- Add environment variable In the popup window, select the type as parameter.
- After entering the information, click the Save button.
- In the confirmation popup, click the Confirm button to complete the addition.
Item Explanation Name Please enter the parameter name. value Please enter the parameter value. Explanation Enter a description for the user to refer to. Table. Parameter environment variable addition input items
Add authentication credentials environment variable
The authentication environment variable stores credentials for use. You can pre-register and share credentials so they can be easily used in stages that require authentication (preventing duplicate entry).
To add authentication environment variables, follow these steps.
- On the Environment Variable Management page, click the Add button. The Add Environment Variable popup window opens.
- Add Environment Variable In the popup window, select the type as “Authentication Information”.
- After entering the information, click the Save button.
- In the confirmation popup, click the Confirm button to complete the addition.
Item Explanation Name Enter the name of the credential. Category Select a category value - Development: Credentials can be used only in build pipelines of type Development.
- Production: Credentials can be used only in build pipelines of type Production.
Authentication type Please select an authentication type. ID Please enter your ID. Password/Private Key Enter the password or private key according to the authentication type. Explanation Enter a description for the user to refer to. Table. Parameter Environment Variable Additional Input Fields
Modify environment variables
To modify environment variables, follow these steps.
- On the Environment Variable Management page, click the environment variable you want to edit. The Edit Environment Variable popup will open.
- Edit Environment Variables In the popup window, modify the desired items and click the Save button.
- In the confirmation popup, click the Confirm button to complete the addition.
Delete environment variable
To delete an environment variable, follow these steps.
Delete from list
- On the Environment Variable Management screen, select the checkbox of the environment variable you want to delete.
- Click the Delete button on the Environment Variable Management screen.
- In the confirmation popup, click the Confirm button to complete the deletion.
Delete in the environment variable edit popup
- Environment Variable Management screen, click the environment variable you want to delete. Environment Variable Edit popup window opens.
- Edit Environment Variable in the popup window, click the Delete button.
- Click the Confirm button in the confirmation popup to complete the deletion.