4
0
mirror of https://github.com/QuasarApp/QuasarAppCI.git synced 2025-05-09 11:49:35 +00:00

fix puller

This commit is contained in:
Andrei Yankovich 2019-08-15 09:55:50 +03:00
parent b02b2229cf
commit 03f2b0e6d3
3 changed files with 8 additions and 1 deletions

@ -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):
@ -23,6 +24,7 @@ class buildBotChangeSource(BuildBotModule):
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
),

3
BuildBotLib/git/gitBin.sh Executable file

@ -0,0 +1,3 @@
#!/bin/bash
[ "${1}" = "log" ] && { shift && git log --ignore-missing "${@}"; } || git "${@}"