You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Build Event Handlers are tasks which execute on the server (as opposed to Actions which run on the agents). They can be configured to respond to one or more of the following build events. 

 

Build eventWhen triggered
On Build CreatedWhen a new build is initialised, after checking repositories, associating changesets and creating workspace folder, but before stages are initialised and build is queued.
On Before Build QueuedBefore a new build is added to the build queue, after initialising build and stages, but before configuration conditions are checked.
On Before Build StartBefore a build is started, once conditions are checked and build is removed from queue .
On After Build StartedAfter build is started, build version allocated and repository cache is updated to the latest revision.
On Before Stage StartBefore a specified stage is started, after license has been allocated and agent reserved.
On Sending Stage To AgentBefore stage is sent to an agent for execution, after checking agent is online and setting up build log.
On Stage CompletedOnce stage has completed and has not been stopped, after updating any unit test metrics.
On Build Pending PromotionWhen build is paused pending promotion to the next stage
On Before Build ContinueWhen build is paused pending promotion to the next stage
On After Build ContinuedBefore a build is continues after promotion, once conditions are checked and build is removed from queue.
On Build StoppingWhen build stop has been requested either manually by a user or by a Stop action.
On Build CompletedWhen build has completed, either successfully or on failure, after build statistics are updated and workspace cleaned up.

 

 

Build Event Handlers can be created on the Events step of the Configuration Wizard. The following types are currently available:

 

 

 

  • No labels