added sheduller of npm

This commit is contained in:
Andrei Yankovich 2019-07-22 21:44:12 +03:00
parent 32683a2872
commit 14b6ee82f3
3 changed files with 8 additions and 2 deletions

View File

@ -32,5 +32,11 @@ class buildBotChangeSource(BuildBotModule):
branches = True, # получаем изменения со всех веток branches = True, # получаем изменения со всех веток
pollInterval = 63 pollInterval = 63
), ),
changes.GitPoller(
repourl = 'https://github.com/usermeme/chat-vironit.git',
project = 'Chat',
branch = 'master',
pollInterval = 64
)
] ]

View File

@ -36,7 +36,7 @@ class buildBotIdentity(BuildBotModule):
roleMatchers = [ roleMatchers = [
util.RolesFromUsername(roles=['admins'], usernames=['EndrII']), util.RolesFromUsername(roles=['admins'], usernames=['EndrII']),
util.RolesFromUsername(roles=['admins'], usernames=['ZIG']), util.RolesFromUsername(roles=['admins'], usernames=['ZIG']),
util.ForceBuildEndpointMatcher(roles=['user'], usernames=['Roma']) util.ForceBuildEndpointMatcher(roles=['user'], usernames=['Roma']),
util.StopBuildEndpointMatcher(roles=['user'], usernames=['Roma']) util.StopBuildEndpointMatcher(roles=['user'], usernames=['Roma'])
] ]

View File

@ -42,7 +42,7 @@ class buildBotShedulers(BuildBotModule):
), ),
schedulers.SingleBranchScheduler( schedulers.SingleBranchScheduler(
name='NPM Deployer', name='NPM Deployer',
change_filter=util.ChangeFilter(branch='master') change_filter=util.ChangeFilter(branch='master', project='Chat')
builderNames=['NPM'], builderNames=['NPM'],
properties = [] properties = []
treeStableTimer = None treeStableTimer = None