哪个持续集成服务器能够排队作业? [英] Which continuous integration server is able to queue jobs?

查看:255
本文介绍了哪个持续集成服务器能够排队作业?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用案例:

CI服务器轮询一些VSC存储库,并为每个版本运行测试套件。如果提交了两个或更多修订版本,即使在相对较小的时间间隔内,我也希望CI服务器将每个修订版本置于队列中,为每个版本运行测试,存储结果,并且不再为这些提交运行测试。我不希望CI服务器并行启动作业,以避免在许多同时作业的情况下出现性能问题和崩溃。

CI server polls some VSC repository and runs test suite for each revision. And if two or more revisions were commited, even in a relatively small time interval, I want the CI server to put each of them in queue, run tests for each, store the results, and never run tests again for those commits. And I don't want the CI server to launch jobs in parallel, to avoid performance issues and crashes in case of many simultaneous jobs.

哪个CI服务器能够处理这个问题?

Which CI server is able to handle this?

我的额外的,不那么重要的要求是我使用Python,并希望使用Python编写的软件,所以我查看了Buildbot项目,我特别想

My additional, less important requirement is that I use Python and it is desirable to use software written in Python, so I looked at the Buildbot project, and I especially want to see reviews for this tool in the matter of is it usable in general and is it capable of replacing most popular solutions like Travis or Jenkins.

推荐答案

这个工具在一般情况下是可用的,它能够替代Travis或Jenkins等大多数常用解决方案。

我使用jenkins做到这一点。 (主要是subversion,c / c ++ build以及bash / python脚本作业)

I have used jenkins to do this. (with subversion mainly, c/c++ build and also bash/python scripted jobs)

jenkins中最简单的和默认的VCS / SCM更改处理是轮询设定时间。如果有任何更改,则会触发构建。在使用此方法时,可以在构建中包括多个提交(例如,如果2个提交靠近在一起)。 Jenkins显示链接回scm和scm更新以及显示构建日志,您可以轻松配置构建输出和测试结果显示。

The easiest and default handling of VCS/SCM changes in jenkins is to poll for changes on a set time. A build is triggered if there is any change. More than one commit may be included in build (e.g. if 2 commits are done close together) when using this method. Jenkins shows links back to scm and scm update done as well as showing build logs and you can easily configure build outputs and test result presentation.

https://wiki.jenkins-ci.org/display/JENKINS/Building+a+software+project #Buildingasoftwareproject-Buildsbysourcechanges

您使用什么VCS / SCM? Jenkins连接到一些VCS / SCM:
https://wiki.jenkins- ci.org/display/JENKINS/Plugins#Plugins-Sourcecodemanagement

What VCS/SCM are you using? Jenkins interfaces to a good few VCS/SCM: https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Sourcecodemanagement

这个问题回答了如何在每个subversion提交上构建Jenkins:
< a href =http://stackoverflow.com/questions/10014252/jenkins-ci-how-to-trigger-builds-on-svn-commit> Jenkins CI:如何在SVN上触发构建提交

This question answers how to make Jenkins build on every subversion commit: Jenkins CI: How to trigger builds on SVN commit

这篇关于哪个持续集成服务器能够排队作业?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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