SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы
Список вопросов ПечатьМетки: buildbot python ci/cd continuous delivery continuous integration непрерывная доставка непрерывная интеграция git
| RemiZOffAlex Создано: 2019-03-09 01:56:11.390408 Обновлено: 2019-03-09 01:56:11.390408 |
|---|
####### CHANGESOURCES
c['change_source'] = []
from buildbot.plugins import changes
c['change_source'] += [
changes.GitPoller(
repourl='/home/remizoffalex/specialistoff.net/',
project='specialistoff',
pollInterval=5
)
]
from buildbot.changes.filter import ChangeFilter
specialistoff_filter = ChangeFilter(project='specialistoff')
from buildbot.schedulers import basic
c['schedulers'] += [
basic.SingleBranchScheduler(
name='specialistoff',
change_filter=specialistoff_filter,
treeStableTimer=5*60,
builderNames=["Build SpecialistOff.NET"]
)
]
|