2019-07-22 10:20:59 +03:00
|
|
|
|
# This Python file uses the following encoding: utf-8
|
2019-12-26 13:48:06 +03:00
|
|
|
|
from BuildBotLib.buildBotModule import BuildBotModule
|
2019-07-22 10:20:59 +03:00
|
|
|
|
from buildbot.plugins import changes
|
2019-08-15 09:55:50 +03:00
|
|
|
|
import os
|
2019-07-22 10:20:59 +03:00
|
|
|
|
|
2019-12-26 13:48:06 +03:00
|
|
|
|
|
|
|
|
|
class BuildBotChangeSource(BuildBotModule):
|
2019-07-22 10:20:59 +03:00
|
|
|
|
def __init__(self):
|
|
|
|
|
BuildBotModule.__init__(self)
|
|
|
|
|
|
|
|
|
|
self.masterConf['change_source'] = [
|
|
|
|
|
changes.GitPoller(
|
2019-12-26 13:48:06 +03:00
|
|
|
|
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
|
2019-07-22 10:20:59 +03:00
|
|
|
|
),
|
|
|
|
|
changes.GitPoller(
|
2019-12-26 13:48:06 +03:00
|
|
|
|
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
|
2019-07-22 10:20:59 +03:00
|
|
|
|
),
|
|
|
|
|
changes.GitPoller(
|
2019-12-26 13:48:06 +03:00
|
|
|
|
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
|
2019-07-22 10:20:59 +03:00
|
|
|
|
),
|
|
|
|
|
changes.GitPoller(
|
2019-12-26 13:48:06 +03:00
|
|
|
|
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
|
2019-07-22 10:20:59 +03:00
|
|
|
|
),
|
2019-07-22 21:44:12 +03:00
|
|
|
|
changes.GitPoller(
|
2019-12-26 13:48:06 +03:00
|
|
|
|
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
|
2019-07-22 21:44:12 +03:00
|
|
|
|
)
|
2019-07-22 10:20:59 +03:00
|
|
|
|
]
|