简介
UiPath Process Mining 的开发是通过协作完成的。为便于实现此目的并跟踪更改,我们使用了 Git。Git 服务器可由 UiPath Process Mining 的多个安装使用。
您可以通过两种方法合并 Git:
- 本地 Git 存储库,由 UiPath Process Mining 管理。
- 您自己管理的 Git 存储库。这可以是您自己的 Git 服务器,也可以是 GitHub 存储库。
备注:
无论您选择使用哪个 Git 存储库,都应确保仅通过 UiPath Process Mining 进行更改。手动执行 Git 操作(例如通过 Git 命令行工具)可能会干扰 UiPath Process Mining 的正常操作。
本地存储库
请按照以下步骤在 UiPath Process Mining 安装中使用本地存储库。
Step | Action |
---|---|
1 | Login on the Superadmin page. |
2 | Go to the Settings tab. |
3 | In the Repositories text field, use the following value:[{ "url": "mvlocal:upstream.git" }] |
4 | Press CTRL+S to save the changes and reload the page to apply them. |
用户名和密码
请按照以下步骤,通过用户名和密码使用 GitHub 帐户。
Step | Action |
---|---|
1 | Go to the Settings tab. |
2 | In the Repositories text field, use the following value:[{"url": "https://github.com/username/repo.git", "user": "username", "pass": "password" }] Replace the username and password with the actual settings you want to use. |
3 | Press CTRL+S to save the changes and reload the page to apply them. |
隐藏密码
如果您不希望密码在设置中清晰可见,您还可以使用公钥和私钥对。您将需要访问服务器的文件系统。
请按照以下步骤使用公钥和私钥对。
Step | Action |
---|---|
1 | Obtain public and private keys for the Github repository you want to use. |
2 | Place them in the databases directory in PLATFORMDIR. It is recommended to place them in a subdirectory, for example, respectively for the private and public keys: • [PLATFORMDIR]\databases\keys\keyfile.txt • [PLATFORMDIR]\databases\keys\keyfile.pub.txt |
3 | Go to the Settings tab. |
4 | In the Repositories text field, use the following value:[{"url": "git@github.com:username/repo.git", "privkey_file": "keys/keyfile.txt", "pubkey_file": "keys/keyfile.pub.txt" }] Replace the URL with the actual URL you want to use. If the location of your keys differs from step 2, change the values accordingly. |
5 | Press CTRL+S to save the changes and reload the page to apply them. |
Git 服务器已连接到 UiPath Process Mining。您的开发者可以开始提交和协作了。
3个月前更新