4
0
mirror of https://github.com/QuasarApp/QuasarAppCI.git synced 2025-04-28 06:34:35 +00:00
QuasarAppCI/BuildBotLib/buildBotChangeSource.py

53 lines
2.1 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# This Python file uses the following encoding: utf-8
from BuildBotLib.buildBotModule import BuildBotModule
from buildbot.plugins import changes
import os
class BuildBotChangeSource(BuildBotModule):
def __init__(self):
BuildBotModule.__init__(self)
self.masterConf['change_source'] = [
changes.GitPoller(
repourl='git@github.com:QuasarApp/Snake.git',
project='qmake-Snake',
gitbin=os.path.dirname(os.path.realpath(__file__))
+ "/git/gitBin.sh",
branches=True, # получаем изменения со всех веток
pollInterval=60
),
changes.GitPoller(
repourl='git@github.com:QuasarApp/CQtDeployer.git',
project='qmake-CQtDeployer',
gitbin=os.path.dirname(os.path.realpath(__file__))
+ "/git/gitBin.sh",
branches=True, # получаем изменения со всех веток
pollInterval=61
),
changes.GitPoller(
repourl='git@github.com:QuasarApp/Qt-Secret.git',
project='qmake-Qt-Secret',
gitbin=os.path.dirname(os.path.realpath(__file__))
+ "/git/gitBin.sh",
branches=True, # получаем изменения со всех веток
pollInterval=62
),
changes.GitPoller(
repourl='git@github.com:QuasarApp/Hanoi-Towers.git',
project='qmake-Hanoi-Towers',
gitbin=os.path.dirname(os.path.realpath(__file__))
+ "/git/gitBin.sh",
branches=True, # получаем изменения со всех веток
pollInterval=63
),
changes.GitPoller(
repourl='https://github.com/usermeme/chat-vironit.git',
project='npm-Chat',
gitbin=os.path.dirname(os.path.realpath(__file__))
+ "/git/gitBin.sh",
branch='master',
pollInterval=64
)
]