phase1: use -SNAPSHOT instead of -CURRENT as build designation
authorJo-Philipp Wich <jo@mein.io>
Fri, 2 Dec 2016 21:16:20 +0000 (22:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 2 Dec 2016 21:16:20 +0000 (22:16 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase1/master.cfg

index 0aa3e9b705208fd9f038e3ca5296559f3e1e5461..e73f31dd8e7fd7aa679c5c14a5328eaae9ffd885 100644 (file)
@@ -118,7 +118,7 @@ from buildbot.changes.gitpoller import GitPoller
 c['change_source'] = []
 c['change_source'].append(GitPoller(
        repo_url,
-       workdir=home_dir+'/work.git', branch='master',
+       workdir=home_dir+'/work.git', branch=repo_branch,
        pollinterval=300))
 
 ####### SCHEDULERS
@@ -132,7 +132,7 @@ from buildbot.changes import filter
 c['schedulers'] = []
 c['schedulers'].append(SingleBranchScheduler(
        name="all",
-       change_filter=filter.ChangeFilter(branch='master'),
+       change_filter=filter.ChangeFilter(branch=repo_branch),
        treeStableTimer=60,
        builderNames=targets))
 
@@ -198,7 +198,7 @@ def GetVersionPrefix(props):
        if props.hasProperty("tag") and re.match("^[0-9]+\.[0-9]+\.[0-9]+$", props["tag"]):
                return "%s/" % props["tag"]
        elif basever != "master":
-               return "%s-CURRENT/" % basever
+               return "%s-SNAPSHOT/" % basever
        else:
                return ""