Script Repository¶
The script repository is used to centrally enter and manage scripts for reuse by "script execution" and "scheduled task".
Usage Steps¶
- Go to "Operations Management - Script Repository"
- Click "New Script"
- Fill in the script name, type (Shell / Python / PowerShell / BAT), description, and content
- Save
Version Management¶
Scripts support version management:
- Each save generates a new version
- Historical versions can be viewed
- Can roll back to a specified version
Script Reuse¶
- In "script execution", scripts can be directly selected from the script repository for execution
- In "scheduled task", scripts from the script repository can be referenced
Tips¶
- It is recommended to verify script content locally before entering it into the platform
- Sensitive information (passwords, Token) is not recommended to be hardcoded in scripts; consider using platform variables or secret management