mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-12 21:29:36 +00:00
fix puller
This commit is contained in:
parent
b02b2229cf
commit
03f2b0e6d3
@ -17,6 +17,8 @@
|
|||||||
"buildBotChangeSource.py",
|
"buildBotChangeSource.py",
|
||||||
"qtUpdater.py",
|
"qtUpdater.py",
|
||||||
"secretManager.py",
|
"secretManager.py",
|
||||||
"NPM.py"
|
"NPM.py",
|
||||||
|
"git/gitBin.sh"
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
from BuildBotLib.buildBotModule import *
|
from BuildBotLib.buildBotModule import *
|
||||||
from buildbot.plugins import util
|
from buildbot.plugins import util
|
||||||
from buildbot.plugins import changes
|
from buildbot.plugins import changes
|
||||||
|
import os
|
||||||
|
|
||||||
class buildBotChangeSource(BuildBotModule):
|
class buildBotChangeSource(BuildBotModule):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -23,6 +24,7 @@ class buildBotChangeSource(BuildBotModule):
|
|||||||
changes.GitPoller(
|
changes.GitPoller(
|
||||||
repourl = 'git@github.com:QuasarApp/Qt-Secret.git',
|
repourl = 'git@github.com:QuasarApp/Qt-Secret.git',
|
||||||
project = 'qmake-Qt-Secret',
|
project = 'qmake-Qt-Secret',
|
||||||
|
gitbin = os.path.dirname(os.path.realpath(__file__)) + "/git/gitBin.sh",
|
||||||
branches = True, # получаем изменения со всех веток
|
branches = True, # получаем изменения со всех веток
|
||||||
pollInterval = 62
|
pollInterval = 62
|
||||||
),
|
),
|
||||||
|
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