使用过程顾问运行任务
使用过程顾问及其增量编译系统运行常见的开发和验证任务
使用 CI Support Package for Simulink,您可以在开发和验证工作流中自动执行并运行任务。使用过程顾问在本地运行任务,或者使用 runprocess
函数进行本地和 CI 执行。这两种方法都使用相同的增量编译系统,以使任务执行在各环境中一致。您可以自定义过程顾问和编译系统,以实现工件缓存及调整其他设置。
为了帮助避免 CI 系统中的编译和测试失败,请在预鉴定过程中使用过程顾问。在即将完成预鉴定活动但未提交到源代码管理之前,您可以在本地运行任务并检查过程。如果 CI 中出现失败情况,您可以使用过程顾问在本地调试问题。
App
过程顾问 | Automate your development workflow and prequalify changes before submitting to source control |
函数
generateReport | Generate report for recent task results |
processadvisor | Open Process Advisor app for Simulink model |
processAdvisorWindow | Open standalone Process Advisor window for project |
runprocess | Generate and run pipeline of tasks by using build system |
主题
- Automate and Run Tasks with Process Advisor
Run common model-based design tasks and review task results using Process Advisor.
- Programmatically Run Tasks
Run tasks locally and in a continuous integration system by using the
runprocess
function. - Specify Settings for Process Advisor and Build System
Customize the behavior of Process Advisor and its build system by using the settings.
- Locally Reproduce Issues Found in CI
After you run a pipeline in your CI system, you can debug failures on your local machine.