Browse Source

make workdir configurable

covid-videoplattform
parent
commit
7cd2e523c6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      templates/buildbot/master.cfg.j2

+ 3
- 0
templates/buildbot/master.cfg.j2 View File

@@ -115,6 +115,7 @@ for builders_config_file_path in builders_config_file_paths:
repourl=repo['url'], repourl=repo['url'],
mode='incremental', mode='incremental',
branch=repo["branch"], branch=repo["branch"],
workdir=repo['workdir'],
progress=True, progress=True,
)) ))
elif repo['type'] == 'gitea': elif repo['type'] == 'gitea':
@@ -122,6 +123,7 @@ for builders_config_file_path in builders_config_file_paths:
repourl=repo['url'], repourl=repo['url'],
mode='incremental', mode='incremental',
branch=repo["branch"], branch=repo["branch"],
workdir=repo['workdir'],
progress=True, progress=True,
)) ))


@@ -129,6 +131,7 @@ for builders_config_file_path in builders_config_file_paths:
factory.addStep(steps.ShellCommand( factory.addStep(steps.ShellCommand(
name=cmd['name'], name=cmd['name'],
command=cmd['command'], command=cmd['command'],
workdir=cmd['workdir'],
)) ))


c['schedulers'].append(schedulers.SingleBranchScheduler( c['schedulers'].append(schedulers.SingleBranchScheduler(


Loading…
Cancel
Save