It's all about the answers!

Ask a question

Can a build start another build


Tom Frauenhofer (1.3k58435) | asked Nov 25 '07, 11:18 p.m.
My build is essentially a cross-build i.e. most of it is built on
Windows using a cross-compiler but targeted for another platform.
However, there is a wrinkle ... a portion of the build must be run on
the target platform.

So, it seems that I'll need a JBE that runs on the target platform (not
presently supported) and I'll need to collect build contributions from
different host systems.

Two questions arise

1) If the JBE is entirely in Java, can I 'port' it to run on platforms
not normally supported. ??

2) Can a Jazz build kick-off another build that runs elsewhere, but
whose results gets published in the original build ??

2 answers



permanent link
Ryan Manwiller (1.3k1) | answered Nov 26 '07, 10:58 a.m.
JAZZ DEVELOPER
If your other platforms support rsh of some other remote command execution
tool, then your windows build could rsh off the portion of the build that
needs to run on the other platform, and wait for it to return. Also, it
should capture the output on the windows side. This output could be
published as a log contribution using the LogPublisherTask.


Even if jbe would run on your other platform, I would not recommend running
multiple jbes in the context of a single build. If you need to coordinate a
build across multiple platforms, tools like Build Forge are probably better
suited to the job.


The JBE is entirely java.


The publishing tasks in the toolkit just need a build result UUID to publish
to, so you can always publish to any build if you keep track of the build
result UUID.


You can request a build with the RequestBuildTask. However, this simply puts
a request on the queue. There is no guarantee it will ever be handled. The
toolkit tasks are not really designed to coordinate complex cross-machine
builds.

permanent link
Tom Frauenhofer (1.3k58435) | answered Nov 26 '07, 11:08 a.m.
Thanks

Yes, we currently use an rsh/ssh mechanism to do this in our non-Jazz
build. I just noticed how cool it might be to use Jazz's JBE to do this.

I'll ask my JBE porting question separately

Cheers

Ryan Manwiller wrote:
If your other platforms support rsh of some other remote command
execution tool, then your windows build could rsh off the portion of the
build that needs to run on the other platform, and wait for it to
return. Also, it should capture the output on the windows side. This
output could be published as a log contribution using the LogPublisherTask.


Even if jbe would run on your other platform, I would not recommend
running multiple jbes in the context of a single build. If you need to
coordinate a build across multiple platforms, tools like Build Forge are
probably better suited to the job.


The JBE is entirely java.


The publishing tasks in the toolkit just need a build result UUID to
publish to, so you can always publish to any build if you keep track of
the build result UUID.


You can request a build with the RequestBuildTask. However, this simply
puts a request on the queue. There is no guarantee it will ever be
handled. The toolkit tasks are not really designed to coordinate complex
cross-machine builds.


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.