![](/img/trans.png)
[英]Is there a way to configure a JFrog pipelines step that will only run for specific branches like master?
[英]Need to run test suites on different platforms
作为我们管道的一部分,我需要在 Linux、Windows 和 MAC 上运行测试。 是否有针对此类任务的内置选项或最佳实践? 有什么例子吗?
我期待管道中是否有任何可行的内置选项来实现这一目标
管道中的矩阵步骤类型可以在这里使用https://www.jfrog.com/confluence/display/JFROG/Matrix通过将节点池选项作为 stepletMutipliers 的一部分传递。 示例步骤:
steps:
- name: step_1
type: Matrix
stepMode: Bash
configuration:
multiNode: true
stepletMultipliers:
environmentVariables:
- foo: foo
- bar: bar
nodePools:
- winNodePool
- u20NodePool
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.