fix errors of step 2

This commit is contained in:
Andrei Yankovich 2019-10-06 20:17:52 +03:00
parent 96edfbbce7
commit 6753124e81
6 changed files with 87 additions and 80 deletions

View File

@ -1,6 +1,6 @@
# This Python file uses the following encoding: utf-8
import BuildBotLib.basemodule as BaseModule
from BuildBotLib.basemodule import BaseModule
from buildbot.plugins import secrets, util, steps
from pathlib import Path
import datetime

View File

@ -1,6 +1,6 @@
# This Python file uses the following encoding: utf-8
import BuildBotLib.make as Make
from BuildBotLib.make import Make
from buildbot.plugins import secrets, util, steps
from pathlib import Path
import datetime
@ -9,7 +9,7 @@ import subprocess
from BuildBotLib.secretManager import *
class QMake(Make):
class CMake(Make):
def __init__(self):
Make.__init__(self);

View File

@ -1,6 +1,6 @@
# This Python file uses the following encoding: utf-8
import BuildBotLib.basemodule as BaseModule
from BuildBotLib.basemodule import BaseModule
from buildbot.plugins import secrets, util, steps
from pathlib import Path

View File

@ -1,6 +1,6 @@
# This Python file uses the following encoding: utf-8
import BuildBotLib.make as Make
from BuildBotLib.make import Make
from buildbot.plugins import secrets, util, steps
from pathlib import Path
import datetime

View File

@ -1,6 +1,6 @@
# This Python file uses the following encoding: utf-8
import BuildBotLib.basemodule as BaseModule
from BuildBotLib.basemodule import BaseModule
from buildbot.plugins import util, steps
from pathlib import Path
import subprocess

View File

@ -4,8 +4,10 @@
from buildbot.plugins import *
from BuildBotLib.buildbot import *
from buildbot.www import authz, auth
import BuildBotLib.cmake as CMake
import BuildBotLib.qmake as QMake
from BuildBotLib.cmake import CMake
from BuildBotLib.qmake import QMake
from BuildBotLib.NPM import NPM
from BuildBotLib.qtUpdater import QtUpdater
# This is a sample buildmaster config file. It must be installed as
# 'master.cfg' in your buildmaster's base directory.
@ -15,10 +17,15 @@ import BuildBotLib.qmake as QMake
bot = BuildBot();
bot.addBuilder("github-worker", "qmake");
bot.addBuilder("Tester", "qmake");
bot.addBuilder("qtBuilder", "qtUpdater");
bot.addBuilder("NPM", "NPM");
qmake = QMake();
npm = NPM();
qtUpdater = QtUpdater();
bot.addBuilder("github-worker", qmake);
bot.addBuilder("Tester", qmake);
bot.addBuilder("qtBuilder", qtUpdater);
bot.addBuilder("NPM", npm);
c = BuildmasterConfig = bot.getMaster()