Graceful shutdown for cancelled JBE build?

Scenario: I have a JBE build that runs a command-line script. When I cancel a build via the RTC Eclipse UI, I need to perform a graceful shutdown in my script. I.e. get notified that the JBE process wants to terminate the build so I can gracefully and explicitly release scarce resources like a DB handle.
Is there any way to achieve this with JBE today? If not I will create an enhancement request.
Is there any way to achieve this with JBE today? If not I will create an enhancement request.
2 answers

Try setting the following build property:
disableDestroyParticipant=true
This should then send a normal friendly shutdown signal to the build
processes, instead of a "destroy" (kill -9) signal.
We asked for that functionality for the CC synchronizer.
As I recall, the build team said that this is available for anyone to
use (and if they didn't, well, it's too late now :-).
Cheers,
Geoff
On 10/26/2011 4:38 PM, bill wrote:
disableDestroyParticipant=true
This should then send a normal friendly shutdown signal to the build
processes, instead of a "destroy" (kill -9) signal.
We asked for that functionality for the CC synchronizer.
As I recall, the build team said that this is available for anyone to
use (and if they didn't, well, it's too late now :-).
Cheers,
Geoff
On 10/26/2011 4:38 PM, bill wrote:
Scenario: I have a JBE build that runs a command-line script. When I
cancel a build via the RTC Eclipse UI, I need to perform a graceful
shutdown in my script. I.e. get notified that the JBE process wants
to terminate the build so I can gracefully and explicitly release
scarce resources like a DB handle.
Is there any way to achieve this with JBE today? If not I will create
an enhancement request.

The property Geoff mentioned was added with this work item, if you want to see more context.
Brent Ulbricht
RTC Build Lead
Brent Ulbricht
RTC Build Lead