[users at bb.net] Store triggered build as a property in the triggering build

Pedro Algarvio pedro at algarvio.me
Wed Feb 14 02:41:30 UTC 2018


I use a local worker which its only job is to coordinate the triggers and the triggered builds and wait for all of that to finish.
Nothing is actually built on the local builders, so, having them wait is not an issue and it never occupies an actual worker.

Makes any sense for your use case?

Best,
Pedro.

On February 14, 2018 12:45:43 AM GMT+00:00, Will Rosecrans <wrosecrans at gmail.com> wrote:
>I have a buildbot job that builds some software, makes a binary, and
>then
>triggers a separate job to run some tests that only need the binary
>while
>it continues running some tests that require the full source.  I am
>impatient, so I want the triggered job to run asynchronously from the
>rest
>of the build.  (Both take ages).  But I would still like the overall
>job to
>fail if the triggered builder fails.
>
>So is there some way for me to set a property in the builder saying
>something like the job ID # of the triggered build, that I could use in
>a
>step at the end of the triggering build to poll for completion status
>of
>the triggered build?
>
>Having to refactor things so that the controlling build's tests could
>run
>as another triggered build would mean having to upload the whole
>massive
>half-built source tree to the master, and then schlep it to another
>worker
>machine to run those tests -- and it would leave the machine that
>currently
>runs the tests just sitting idle occupying a build machine waiting for
>the
>triggered jobs to finish.  So I'd like to avoid going that route in
>this
>particular scenario, even if the master-controller that just triggers
>is
>usually recommended for this sort of thing generally.  (I already have
>a
>master controller that triggers builds on all the OS's)
>
>Any clever ideas?

Pedro Algarvio @ Phone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20180214/befb5c4e/attachment.html>


More information about the users mailing list