简介
备注:
本指南假定仅存在一种环境。
部署版本需要执行以下步骤:
- 如果部署的服务器上没有该版本,则必须先获取该版本。可以通过从存储库导入版本或上传版本来实现此目的。
此外,如果未准备好,则该版本使用的内部版本也应在服务器上可用。 - 版本已激活。如果是首次激活此版本,则应配置默认用户访问权限。
- 如果是首次部署此版本,则需要配置用户访问权限。
上传版本
对于开发者以 .mvtag
文件形式发布的版本,可以通过使用上传选项上传服务器,也可以通过将版本文件拖动到“超级管理员版本”选项卡来上传服务器。
请按照以下步骤上传版本。
Step | Action |
---|---|
1 | Go to the Superadmin Releases tab. |
2 | Click on the menu icon in the top-left and select Upload a release to this server…. |
3 | Drag the desired release file onto the Upload File dialog or browse for it on your computer. |
4 | Click on OK. |
备注:
您也可以将所需的版本文件拖动到“版本”选项卡。
上传的版本现已显示在版本列表中。
导入版本
可以从存储库导入现有版本。
请按照以下步骤从存储库中导入版本。
Step | Action |
---|---|
1 | Go to the Superadmin Releases tab. |
2 | Click on the menu icon in the top-left and select Import a release from the repository…. |
3 | Select the repository that contains the desired release. |
4 | Select the branch that contains the desired release. |
5 | Select the desired release. |
6 | Click on IMPORT. |
导入的版本现已显示在版本列表中。
上传内部版本
版本所使用的内部版本必须在服务器上可用,以便能够激活版本。您可以在“版本”选项卡的“内部版本”列中查看该版本使用的是哪个内部版本。如果尚不可用,可以在“内部版本”选项卡中上传所需的内部版本。内部版本应由开发者提供。
请按照以下步骤上传内部版本。
Step | Action |
---|---|
1 | Go to the Superadmin Builds tab. |
2 | Click on the menu icon in the top-left and select Upload build…. |
3 | Drag the desired build file onto the dialog or browse for it on your computer and click on OK. |
4 | Right click in the list on the build that has been uploaded and select Activate as Superadmin. |
备注:
您也可以将所需的内部版本文件拖动到“内部版本”选项卡。
上传的内部版本现已激活,并在内部版本列表中显示。
See: The Builds Tab.
激活版本
激活版本时,系统将显示一个对话框。上一个活动版本中未包含的任何模块都以绿色突出显示。
这些新模块的默认访问权限可以设置为:
- 所有用户:当前和未来的所有用户将自动访问该模块。
- 没有用户:任何当前或未来的用户最初将无权访问该模块。需要为模块设置个人用户权限。
先前处于活动状态的模块的名称和/或说明如有任何更改,将以橙色高亮显示。
请参见下图。
请按照以下步骤激活版本。
Step | Action |
---|---|
1 | Go to the Superadmin Releases tab. |
2 | Right click on the release that is to be activated. |
3 | Select Make active on - production. |
4 | Select the desired default access for new modules, if any. |
5 | Click OK. |
“活动时间”列现在表示在已激活版本之前进行生产,并且一旦生成缓存,用户就可以使用适当的访问权限访问该版本。
See: The Releases Tab.
自动化版本部署
以下命令行功能可用,可用于自动化版本管道:
ImportRelease
用于导入来自本地文件文件或 Git 存储库的发行版。ActivateRelease
用于激活发行版。
您可以在批处理脚本中使用这些命令,将新版本自动发布到不同(生产)环境。例如,UiPath Process Mining 安装的内部版本文件夹中的 processgold.bat
脚本。
3个月前更新