mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-06 02:09:36 +00:00
commit
9eacb86807
BuildBotLib
@ -17,6 +17,8 @@
|
||||
"buildBotChangeSource.py",
|
||||
"qtUpdater.py",
|
||||
"secretManager.py",
|
||||
"NPM.py"
|
||||
"NPM.py",
|
||||
"git/gitBin.sh"
|
||||
|
||||
]
|
||||
}
|
||||
|
@ -2,6 +2,7 @@
|
||||
from BuildBotLib.buildBotModule import *
|
||||
from buildbot.plugins import util
|
||||
from buildbot.plugins import changes
|
||||
import os
|
||||
|
||||
class buildBotChangeSource(BuildBotModule):
|
||||
def __init__(self):
|
||||
@ -11,30 +12,35 @@ class buildBotChangeSource(BuildBotModule):
|
||||
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/Console-QtDeployer.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
|
||||
)
|
||||
|
3
BuildBotLib/git/gitBin.sh
Executable file
3
BuildBotLib/git/gitBin.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
[ "${1}" = "log" ] && { shift && git log --ignore-missing "${@}"; } || git "${@}"
|
Loading…
x
Reference in New Issue
Block a user