c['builders'] = []
dlLock = locks.SlaveLock("slave_dl")
-tagLock = locks.MasterLock("make_tag")
checkBuiltin = re.sub('[\t\n ]+', ' ', """
checkBuiltin() {
doStepIf = IsCleanRequested(tuple[0])
))
- factory.addStep(MasterShellCommand(
- name = "maketag",
- description = "Tagging Git repository",
- command = [home_dir+'/maketag.sh', '-i', '-k', str(gpg_keyid or ''),
- '-p', str(gpg_passfile or ''), '-v', WithProperties("%(tag:-)s")],
- path = home_dir+'/source.git',
- env = {'GNUPGHOME': gpg_home},
- haltOnFailure = True,
- doStepIf = IsTaggingRequested,
- locks = [tagLock.access('exclusive')]
- ))
-
# switch to branch
factory.addStep(ShellCommand(
name = "switchbranch",