[users at bb.net] Buildbot Triggerable Scheduler and working dir relation
Sergio Borghese
s.borghese at netresults.it
Fri Jan 27 17:56:44 UTC 2017
Hi All,
just posted the below question on Stackoverflow [http://stackoverflow.com/questions/41884751/buildbot-triggerable-scheduler-and-working-dir-relation]
Wondering if someone in the ml is able to help me on the topic.
Best Regards
Sergio
Trying to setup a Triggerable Scheduler in buildbot nine (0.9.1) but I think I'm misunderstanding how this is supposed to work. I have two builders:
* CompilerBuilder
* PackageBuilder
Last step of the CompilerBuilder is a trigger step:
steps.Trigger (schedulerNames=['package'],
waitForFinish=True)
The master configuration file has a Triggerable scheduler:
c['schedulers'].append(schedulers.Triggerable(
name="package",
builderNames=['package']))
What I want to achieve/expect
* A SingleBranch Scheduler starts the CompilerBuilder
* When the CompilerBuilder reaches the last step, the PackageBuilder is triggered, so the freshly compiled software is packaged.
What really happens
* The SingleBranch Scheduler starts the CompilerBuilder
* When the CompilerBuilder reaches the last step, the PackageBuilder is triggered
...so far so good, unfortunately the PackageBuilder is started inside a different working dir from the one where the code has been checked-out and compiled, so the package creation process fails.
My understanding was that a Triggered builder would be run in the same working dir of the "calling" builder but I think I'm not understanding how to correctly configure the builders/schedulers correcty.
Any hint?
--
Sergio Borghese
Senior Software Engineer
NetResults S.r.l.
Via Agostino Bassi 5, 56121 Ospedaletto (Pi), Italy
Tel.: +39.050.316.3658
web: www.netresults.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170127/54cd985c/attachment.html>
More information about the users
mailing list