[users at bb.net] ForceScheduler revision
Alvaro Erickson
alvaro.erickson at gmail.com
Wed Dec 14 19:53:05 UTC 2016
Greetings all,
I am using Buildbot version 0.9.1 with Mercurial repositories. Now, I have
2 repositories I want to work with in a builder and a scheduler:
- Mercurial repo A - main repo
- Mercurial repo B - build scripts
And I am trying to use a ForceScheduler with the following setup to create
builds:
force_sch = schedulers.ForceScheduler(
name="force-debug-build",
buttonName="Force Build",
label="Force form",
builderNames=["Build-debug"],
codebases=[
util.CodebaseParameter(
"",
name="Repo A",
revision=util.StringParameter(name="revision",
label="changeset",
default="abc", size=15),
branch=util.FixedParameter(name="branch", default="default"),
repository=util.FixedParameter(name="repository",
default="<repo A URL>),
project=util.FixedParameter(name="project",
default="debug-repo"),
),
],
reason=util.StringParameter(name="reason",
label="reason:",
size=80),
username=util.UserNameParameter(label="Your name:",
size=80
)
)
to run a builder that does the following for the checkout steps:
1. Checkout from Mercurial repo A
2. Checkout from Mercurial repo B
The problem is that both repos A and B get the ForceScheduler revision
passed to them for the checkout steps. And I only want repo A to get the
ForceScheduler revision. Is there a way to only have the checkout of repo A
get the revision?
Regards,
Alvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20161214/accf038c/attachment.html>
More information about the users
mailing list