如何将工作在一个类别为油门并发构建插件詹金斯 [英] How to put jobs in a category for the Throttle Concurrent Builds plugin for Jenkins

查看:270
本文介绍了如何将工作在一个类别为油门并发构建插件詹金斯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了TCB插件詹金斯。我有几个构建一个运行测试。这些构建必须单独运行,因为它们访问可以导致测试失败,如果一个以上的测试版本,运行类似文件。我一直试图找到我把构建成一个类别的地方,这样我就能关闭整个测试类别1/1。我认为这可能是詹金斯意见,但没有做的工作。你如何添加作业类别?

I have downloaded the TCB plugin for Jenkins. I have several builds that run tests. These builds must be run individually, as they access similar files that can cause tests to fail if more than one test build is running. I have been trying to find the place where I put the builds into a "category", so I can throttle the whole test category down to 1/1. I thought that it might be the Jenkins Views, but that did not do the job. How do you add jobs to a category?

此标记讨论我渴望解决方案:<一href=\"http://stackoverflow.com/questions/12834677/jenkins-group-jobs-and-limit-build-processors-for-this-group\">Jenkins:组作业,并限制建立这一群体处理器。唯一的问题是,它并没有说如何将它们添加到类别。

This tag discusses the solution I desire: Jenkins: group jobs and limit build processors for this group. The only problem is that it doesn't say how to add them to categories.

推荐答案

您设立在全球詹金斯配置类别(管理詹金斯 - >配置系统),然后将作业分配到的类别。请参见插件文档中的按项目类别一节。

You set up categories in the global Jenkins configuration (Manage Jenkins -> Configure System) and then assign jobs to categories. See the "Per Project-Category" section in the plugin documentation.

这篇关于如何将工作在一个类别为油门并发构建插件詹金斯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆